Sfoglia il codice sorgente

Add WinSock2 dependency

batist73 6 anni fa
parent
commit
90e699161a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      httplib.h

+ 2 - 0
httplib.h

@@ -37,6 +37,8 @@
 #include <winsock2.h>
 #include <ws2tcpip.h>
 
+#pragma comment(lib, "ws2_32.lib")
+
 #ifndef strcasecmp
 #define strcasecmp _stricmp
 #endif //strcasecmp