mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:00:56 +00:00
include/msvcrt: Make sure size_t is properly defined for 64-bit.
This commit is contained in:
parent
f0279726eb
commit
6a65bf6a2b
|
@ -18,8 +18,18 @@ typedef unsigned short wchar_t;
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
# ifndef __int64
|
||||
# define __int64 long long
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef _SIZE_T_DEFINED
|
||||
#ifdef _WIN64
|
||||
typedef unsigned __int64 size_t;
|
||||
#else
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
#define _SIZE_T_DEFINED
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue