fixed compiling MM engine code with MinGW environment
authorHolger Schemel <info@artsoft.org>
Mon, 19 Mar 2018 21:49:22 +0000 (22:49 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:18 +0000 (23:21 +0100)
src/libgame/windows.h

index a3d68cc470e21033d11ee04219f1b3a444ac48bb..faf9deacabc9d93e8b21c7ded6847ca447857b10 100644 (file)
@@ -12,6 +12,9 @@
 #ifndef WINDOWS_H
 #define WINDOWS_H
 
+/* prevent including lots of conflicting macros */
+#define WIN32_LEAN_AND_MEAN
+
 #include <shlobj.h>