Explorar el Código

Added #pragma comment(lib, "Ws2_32.lib") for win32

Sergey Lyubka hace 13 años
padre
commit
586574e176
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      mongoose.c

+ 3 - 0
mongoose.c

@@ -171,6 +171,9 @@ typedef struct DIR {
   struct dirent  result;
 } DIR;
 
+// Mark required libraries
+#pragma comment(lib, "Ws2_32.lib")
+
 #else    // UNIX  specific
 #include <sys/wait.h>
 #include <sys/socket.h>