msvcrt: Fix the time_t definition for the msvcrt build.

This commit is contained in:
Alexandre Julliard 2009-01-05 15:07:53 +01:00
parent e8ba733706
commit f1b363e27d
2 changed files with 4 additions and 1 deletions

View File

@ -50,15 +50,17 @@ typedef unsigned long MSVCRT__fsize_t;
typedef unsigned __int64 MSVCRT_size_t;
typedef __int64 MSVCRT_intptr_t;
typedef unsigned __int64 MSVCRT_uintptr_t;
typedef __int64 MSVCRT_time_t;
#else
typedef unsigned long MSVCRT_size_t;
typedef long MSVCRT_intptr_t;
typedef unsigned long MSVCRT_uintptr_t;
typedef long MSVCRT_time_t;
#endif
typedef unsigned int MSVCRT__dev_t;
typedef int MSVCRT__off_t;
typedef long MSVCRT_clock_t;
typedef long MSVCRT_time_t;
typedef long MSVCRT___time32_t;
typedef __int64 MSVCRT___time64_t;
typedef __int64 MSVCRT_fpos_t;

View File

@ -88,6 +88,7 @@ static void test_types(void)
CHECK_TYPE(_off_t);
CHECK_TYPE(clock_t);
CHECK_TYPE(time_t);
CHECK_TYPE(__time32_t);
CHECK_TYPE(__time64_t);
CHECK_TYPE(fpos_t);
CHECK_SIZE(FILE);