diff options
author | George Marques <george@gmarqu.es> | 2016-05-03 16:29:32 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2016-05-03 16:35:36 -0300 |
commit | 9424c6c58f0b33f06807936958978e907574a845 (patch) | |
tree | 1fa02b1f67a0a62a235d53053e054ae16b71c851 /drivers/gl_context | |
parent | 5b039245b9d95c8ca1914d41d976e9a52e5510ef (diff) |
Fix windows 64-bits build.
The change in `tools/doc/doc_data.cpp` is needed because the MSVC
compiler does not support variable length arrays.
Fix #4113
Diffstat (limited to 'drivers/gl_context')
-rw-r--r-- | drivers/gl_context/glew.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gl_context/glew.h b/drivers/gl_context/glew.h index 4eed47708f..7b66ea97ed 100644 --- a/drivers/gl_context/glew.h +++ b/drivers/gl_context/glew.h @@ -153,8 +153,7 @@ typedef unsigned short wchar_t; #endif #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) # ifdef _WIN64 -//typedef __int64 ptrdiff_t; -typedef long int ptrdiff_t; +typedef __int64 ptrdiff_t; # else typedef _W64 int ptrdiff_t; # endif |