aboutsummaryrefslogtreecommitdiffstats
path: root/common/dynload.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-01 23:33:00 -0700
committerChris Robinson <[email protected]>2019-10-01 23:33:00 -0700
commit4620912f0ffef7bde9629377f38f75065c0c8bba (patch)
treeba4ffc57c6d9b0e166179726bf1cb20c6ce4f5ee /common/dynload.cpp
parent2980adb8c0d28486da1229b182bc9c78ae5b1879 (diff)
Don't inline the utf8 converters
Diffstat (limited to 'common/dynload.cpp')
-rw-r--r--common/dynload.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/dynload.cpp b/common/dynload.cpp
index 98d2c521..f1c2a7eb 100644
--- a/common/dynload.cpp
+++ b/common/dynload.cpp
@@ -6,6 +6,8 @@
#include "strutils.h"
#ifdef _WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
void *LoadLib(const char *name)
{
@@ -39,5 +41,4 @@ void *GetSymbol(void *handle, const char *name)
if(err) sym = nullptr;
return sym;
}
-
#endif