Преглед изворни кода

Update civetweb.c

Added MSC_VER check to the include for ws2tcpip, as it broke the linux build.
grenclave пре 11 година
родитељ
комит
b9aa135006
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -46,7 +46,7 @@
 #undef WIN32_LEAN_AND_MEAN
 #undef WIN32_LEAN_AND_MEAN
 #endif
 #endif
 
 
-#ifdef USE_IPV6
+#ifdef USE_IPV6 && defined(_MSC_VER)
 #include <ws2tcpip.h>
 #include <ws2tcpip.h>
 #endif
 #endif