Module: wine Branch: refs/heads/master Commit: 6a65bf6a2bcc6360a79a01b63c13dc5f9a7523da URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6a65bf6a2bcc6360a79a01b6...
Author: Ge van Geldorp ge@gse.nl Date: Fri Jun 30 21:37:39 2006 +0200
include/msvcrt: Make sure size_t is properly defined for 64-bit.
---
include/msvcrt/string.h | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/include/msvcrt/string.h b/include/msvcrt/string.h index a821aa2..cc0b25e 100644 --- a/include/msvcrt/string.h +++ b/include/msvcrt/string.h @@ -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