From ef080d827d3455d2ccdc858bb466b1879a088289 Mon Sep 17 00:00:00 2001 From: ikits Date: Mon, 6 Dec 2004 06:40:23 +0000 Subject: [PATCH] fixed mingw and wxwindows problem git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@307 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/src/glew_pre.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/auto/src/glew_pre.h b/auto/src/glew_pre.h index f1ca5f1..f13fe07 100644 --- a/auto/src/glew_pre.h +++ b/auto/src/glew_pre.h @@ -77,6 +77,7 @@ #define __glext_h_ #define __GLEXT_H_ #define __gl_ATI_h_ +#define __GLX_glx_h__ #if defined(_WIN32) @@ -118,11 +119,9 @@ #define WINGDIAPI __declspec(dllimport) #endif /* */ -#if !defined(__CYGWIN__) && !defined(_WCHAR_T_DEFINED) -# ifndef _WCHAR_T_DEFINED - typedef unsigned short wchar_t; -# define _WCHAR_T_DEFINED -# endif +#if defined(_MSC_VER) && !defined(_WCHAR_T_DEFINED) +typedef unsigned short wchar_t; +# define _WCHAR_T_DEFINED #endif /* */ #if !defined(_W64)