Browse Source

wrong makro syntax fix

Kajetan Johannes Hammerle 2 years ago
parent
commit
949e380f23
1 changed files with 1 additions and 1 deletions
  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