Browse Source

fixed mingw compilation

Nicolas Cannasse 7 năm trước cách đây
mục cha
commit
e14585e5e3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/hlc_main.c

+ 2 - 0
src/hlc_main.c

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