From 1a007610dbd6c96e921e29bfdafe326ec246117e Mon Sep 17 00:00:00 2001 From: ikits Date: Sat, 29 Jan 2005 16:59:36 +0000 Subject: [PATCH] fix borland compilation problem git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@375 783a27ee-832a-0410-bc00-9f386506c6dd --- auto/src/glew_head.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index b66a398..7a001a2 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -30,7 +30,7 @@ #define GLEW_APIENTRY_DEFINED # if defined(__CYGWIN__) || defined(__MINGW32__) # define APIENTRY __stdcall -# elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) +# elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__) # define APIENTRY __stdcall # else # define APIENTRY @@ -58,7 +58,7 @@ #define WINGDIAPI __declspec(dllimport) #endif /* */ -#if defined(_MSC_VER) && !defined(_WCHAR_T_DEFINED) +#if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED) typedef unsigned short wchar_t; # define _WCHAR_T_DEFINED #endif