浏览代码

wrong makro syntax fix

Kajetan Johannes Hammerle 2 年之前
父节点
当前提交
949e380f23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/enet.h

+ 1 - 1
include/enet.h

@@ -75,7 +75,7 @@
         #pragma warning (disable: 4146) // unary minus operator applied to unsigned type
     #endif
 
-    #ifndef ENET_NO_PRAGMA_LINK && !defined(__MINGW32__)
+    #if !defined(ENET_NO_PRAGMA_LINK) && !defined(__MINGW32__)
     #pragma comment(lib, "ws2_32.lib")
     #pragma comment(lib, "winmm.lib")
     #endif