Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility...
[freeglut] / include / GL / freeglut_std.h
index 15b113f..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>
 
 #define  GLUT_MULTISAMPLE                   0x0080
 #define  GLUT_STEREO                        0x0100
 #define  GLUT_LUMINANCE                     0x0200
+#define  GLUT_CAPTIONLESS                   0x0400
+#define  GLUT_BORDERLESS                    0x0800
 
 /*
  * GLUT API macro definitions -- windows and menu related definitions