Sfoglia il codice sorgente

wrong makro syntax fix

Kajetan Johannes Hammerle 2 anni fa
parent
commit
949e380f23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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