From 9424c6c58f0b33f06807936958978e907574a845 Mon Sep 17 00:00:00 2001 From: George Marques Date: Tue, 3 May 2016 16:29:32 -0300 Subject: 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 --- drivers/gl_context/glew.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gl_context') 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 -- cgit v1.2.3