Przeglądaj źródła

Merge pull request #135 from batist73/add-winsock2-dependency

Add WinSock2 dependency
yhirose 6 lat temu
rodzic
commit
acc5e5a450
1 zmienionych plików z 2 dodań i 0 usunięć
  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