include: Fix the msvcrt time_t definition on 64-bit.

This commit is contained in:
Alexandre Julliard 2009-01-04 14:10:43 +01:00
parent 03f9519711
commit fcd2ff9703
1 changed files with 9 additions and 5 deletions

View File

@ -104,11 +104,6 @@ typedef unsigned int size_t;
#define _SIZE_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _TIME32_T_DEFINED
typedef long __time32_t;
#define _TIME32_T_DEFINED
@ -119,6 +114,15 @@ typedef __int64 __time64_t;
#define _TIME64_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
#ifdef _WIN64
typedef __time64_t time_t;
#else
typedef __time32_t time_t;
#endif
#define _TIME_T_DEFINED
#endif
#ifndef _WCHAR_T_DEFINED
#ifndef __cplusplus
typedef unsigned short wchar_t;