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
This commit is contained in:
parent
5b039245b9
commit
9424c6c58f
3 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue