Explorar o código

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

Sergey Lyubka %!s(int64=13) %!d(string=hai) anos
pai
achega
586574e176
Modificáronse 1 ficheiros con 3 adicións e 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>