Browse Source

fixed mingw compilation

Nicolas Cannasse 7 years ago
parent
commit
e14585e5e3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/hlc_main.c

+ 2 - 0
src/hlc_main.c

@@ -26,9 +26,11 @@
 #endif
 #endif
 
 
 #ifdef HL_WIN_DESKTOP
 #ifdef HL_WIN_DESKTOP
+#	define CONST
 #	pragma warning(disable:4091)
 #	pragma warning(disable:4091)
 #	include <DbgHelp.h>
 #	include <DbgHelp.h>
 #	pragma comment(lib, "Dbghelp.lib")
 #	pragma comment(lib, "Dbghelp.lib")
+#	undef CONST
 #endif
 #endif
 
 
 #ifdef HL_CONSOLE
 #ifdef HL_CONSOLE