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