mirror of
https://github.com/godotengine/godot.git
synced 2025-10-15 02:49:24 +00:00
Fix build for Windows 64-bits with GCC
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user