2
0
Эх сурвалжийг харах

prevent warnings on windows

ncannasse 8 жил өмнө
parent
commit
05727524b6
1 өөрчлөгдсөн 7 нэмэгдсэн , 2 устгасан
  1. 7 2
      libs/uv/uv.c

+ 7 - 2
libs/uv/uv.c

@@ -1,6 +1,11 @@
 #define HL_NAME(n) uv_##n
-#include <hl.h>
-#include <uv.h>
+#ifdef _WIN32
+#	include <uv.h>
+#	include <hl.h>
+#else
+#	include <hl.h>
+#	include <uv.h>
+#endif
 
 #define EVT_CLOSE	1