diff options
Diffstat (limited to 'drivers/gl_context/glew.h')
-rw-r--r-- | drivers/gl_context/glew.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gl_context/glew.h b/drivers/gl_context/glew.h index 7b66ea97ed..39c8162dea 100644 --- a/drivers/gl_context/glew.h +++ b/drivers/gl_context/glew.h @@ -153,7 +153,11 @@ typedef unsigned short wchar_t; #endif #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) # ifdef _WIN64 +# ifdef _MSC_VER // Using MSVC typedef __int64 ptrdiff_t; +# else // Using GCC +typedef long int ptrdiff_t; +# endif # else typedef _W64 int ptrdiff_t; # endif |