浏览代码

fixed mingw compilation

Nicolas Cannasse 7 年之前
父节点
当前提交
e14585e5e3
共有 1 个文件被更改,包括 2 次插入0 次删除
  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