Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility...
[freeglut] / 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>