Procházet zdrojové kódy

wrong makro syntax fix

Kajetan Johannes Hammerle před 2 roky
rodič
revize
949e380f23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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