Explorar o código

Add WinSock2 dependency

batist73 %!s(int64=6) %!d(string=hai) anos
pai
achega
90e699161a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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