From 17a574d7cd8c541c902cc0da40362a32d965e77b Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 4 Sep 2012 22:53:42 -0700 Subject: Use the correct macro _WIN32 for Windows. The correct predefined macro for Windows is _WIN32, not WIN32 or __WIN32__. _WIN32 is defined for 32-bit and 64-bit version of Windows by both MSVC and MinGW compilers. http://sourceforge.net/p/predef/wiki/OperatingSystems http://msdn.microsoft.com/en-us/library/b0084kay.aspx This patch also fixes a MinGW automake build error. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- src/glx/glxclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx/glxclient.h') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 91577a81c2d..087f23892e9 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -47,7 +47,7 @@ #include #include #include -#ifdef WIN32 +#ifdef _WIN32 #include #endif #include "GL/glxproto.h" -- cgit v1.2.3