Skip to content

Commit 16e3dbf

Browse files
committed
Update to latest libfmt
1 parent 5812442 commit 16e3dbf

4 files changed

Lines changed: 5 additions & 1 deletion

File tree

external/fmt

Submodule fmt updated 248 files

source/include/Log.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
#include <Windows.h>
33
#include <fmt/format.h>
4+
#include <fmt/xchar.h>
5+
46
#define LOG(fmtstr, ...) OutputDebugStringA(fmt::format(LOG_PREFIX fmtstr, __VA_ARGS__).c_str())
57
#define LOGW(fmtstr, ...) OutputDebugStringW(fmt::format(LOG_PREFIX fmtstr, __VA_ARGS__).c_str())
68

source/src/D2CMP.detours.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
#define LOG_PREFIX "(D2CMP.detours):"
77
#include "Log.h"
8+
#include <assert.h>
89

910
struct PL2File;
1011
static PL2File* __stdcall DetouredCreateD2Palette(BYTE* pPal[256])

source/src/DetoursPatch.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define LOG_PREFIX "(D2detours.patch):"
88
#include "Log.h"
99
#include <unordered_map>
10+
#include <assert.h>
1011

1112
bool getPatchInformationFunctions(LPCWSTR lpLibFileName, PatchInformationFunctions& functions, HMODULE hModulePatch)
1213
{

0 commit comments

Comments
 (0)