소스 검색

Fixed bug 2508 - don't redefine WIN32_LEAN_AND_MEAN

Sam Lantinga 11 년 전
부모
커밋
bd6a493697
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/SDL_opengl.h

+ 2 - 0
include/SDL_opengl.h

@@ -33,7 +33,9 @@
 #ifndef __IPHONEOS__
 
 #ifdef __WIN32__
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
+#endif
 #ifndef NOMINMAX
 #define NOMINMAX                /* Don't defined min() and max() */
 #endif