Explorar el Código

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

Add WinSock2 dependency
yhirose hace 6 años
padre
commit
acc5e5a450
Se han modificado 1 ficheros con 2 adiciones y 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