mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 05:36:35 +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
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
# ifndef __int64
|
||||||
|
# define __int64 long long
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIZE_T_DEFINED
|
#ifndef _SIZE_T_DEFINED
|
||||||
|
#ifdef _WIN64
|
||||||
|
typedef unsigned __int64 size_t;
|
||||||
|
#else
|
||||||
typedef unsigned int size_t;
|
typedef unsigned int size_t;
|
||||||
|
#endif
|
||||||
#define _SIZE_T_DEFINED
|
#define _SIZE_T_DEFINED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue