summaryrefslogtreecommitdiff
path: root/shared/dll_loader.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/dll_loader.h')
-rw-r--r--shared/dll_loader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared/dll_loader.h b/shared/dll_loader.h
index 24dd4f14..6dedc06e 100644
--- a/shared/dll_loader.h
+++ b/shared/dll_loader.h
@@ -8,7 +8,14 @@
#define DLLLOADER_H_INCLUDED
#include <string>
+
+#ifdef __WXMSW__ //we have wxWidgets
#include <wx/msw/wrapwin.h> //includes "windows.h"
+#else
+#include <windows.h>
+#undef max
+#undef min
+#endif
namespace util
bgstack15