From 0c89ab8be22491b8b511d47b52f50631cd86c0be Mon Sep 17 00:00:00 2001 From: fayjf Date: Mon, 9 Mar 2009 14:41:59 +0000 Subject: [PATCH] Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility with GLEW per suggestion by Diederick C. Niehorster in e-mail dated Mon 3/9/2009 8:06 AM git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@794 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/include/GL/freeglut_std.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/freeglut/freeglut/include/GL/freeglut_std.h b/freeglut/freeglut/include/GL/freeglut_std.h index 0545e64..f799233 100644 --- a/freeglut/freeglut/include/GL/freeglut_std.h +++ b/freeglut/freeglut/include/GL/freeglut_std.h @@ -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