소스 검색

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 년 전
부모
커밋
e44dd202ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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