Explorar o código

Unconditionally undef WINDOWS_LEAN_AND_MEAN. This makes things build
again with vc9 and vc10. Don't know about vc11 or vc12.

Scott Nations %!s(int64=11) %!d(string=hai) anos
pai
achega
e44dd202ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -44,7 +44,7 @@
 
 /* Disable WIN32_LEAN_AND_MEAN.
    This makes windows.h always include winsock2.h */
-#if defined(WIN32_LEAN_AND_MEAN) && (_MSC_VER <= 1400)
+#if defined(WIN32_LEAN_AND_MEAN)
 #undef WIN32_LEAN_AND_MEAN
 #endif