Jelajahi Sumber

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

Scott Nations 11 tahun lalu
induk
melakukan
e44dd202ef
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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