Browse Source

prevent warnings on windows

ncannasse 8 years ago
parent
commit
05727524b6
1 changed files with 7 additions and 2 deletions
  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