Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility...
authorJohn F. Fay <johnffay@nettally.com>
Mon, 9 Mar 2009 14:41:59 +0000 (14:41 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Mon, 9 Mar 2009 14:41:59 +0000 (14:41 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@794 7f0cb862-5218-0410-a997-914c9d46530a

include/GL/freeglut_std.h

index 0545e64..f799233 100644 (file)
@@ -54,7 +54,9 @@
 #       endif
 #   endif
 
-#   define WIN32_LEAN_AND_MEAN
+#  ifndef WIN32_LEAN_AND_MEAN
+#    define WIN32_LEAN_AND_MEAN 1
+#  endif
 #   define NOMINMAX
 #   include <Windows.h>