From: John F. Fay Date: Mon, 9 Mar 2009 14:41:59 +0000 (+0000) Subject: Making the definition of "WIN32_LEAN_AND_MEAN" conditional to enhance compatibility... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=356c71cfd2e068359d499e428bba55563d03bd9f;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@794 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/include/GL/freeglut_std.h b/include/GL/freeglut_std.h index 0545e64..f799233 100644 --- a/include/GL/freeglut_std.h +++ b/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