msvcrt: Fix the time_t definition for the msvcrt build.
This commit is contained in:
parent
e8ba733706
commit
f1b363e27d
|
@ -50,15 +50,17 @@ typedef unsigned long MSVCRT__fsize_t;
|
||||||
typedef unsigned __int64 MSVCRT_size_t;
|
typedef unsigned __int64 MSVCRT_size_t;
|
||||||
typedef __int64 MSVCRT_intptr_t;
|
typedef __int64 MSVCRT_intptr_t;
|
||||||
typedef unsigned __int64 MSVCRT_uintptr_t;
|
typedef unsigned __int64 MSVCRT_uintptr_t;
|
||||||
|
typedef __int64 MSVCRT_time_t;
|
||||||
#else
|
#else
|
||||||
typedef unsigned long MSVCRT_size_t;
|
typedef unsigned long MSVCRT_size_t;
|
||||||
typedef long MSVCRT_intptr_t;
|
typedef long MSVCRT_intptr_t;
|
||||||
typedef unsigned long MSVCRT_uintptr_t;
|
typedef unsigned long MSVCRT_uintptr_t;
|
||||||
|
typedef long MSVCRT_time_t;
|
||||||
#endif
|
#endif
|
||||||
typedef unsigned int MSVCRT__dev_t;
|
typedef unsigned int MSVCRT__dev_t;
|
||||||
typedef int MSVCRT__off_t;
|
typedef int MSVCRT__off_t;
|
||||||
typedef long MSVCRT_clock_t;
|
typedef long MSVCRT_clock_t;
|
||||||
typedef long MSVCRT_time_t;
|
typedef long MSVCRT___time32_t;
|
||||||
typedef __int64 MSVCRT___time64_t;
|
typedef __int64 MSVCRT___time64_t;
|
||||||
typedef __int64 MSVCRT_fpos_t;
|
typedef __int64 MSVCRT_fpos_t;
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ static void test_types(void)
|
||||||
CHECK_TYPE(_off_t);
|
CHECK_TYPE(_off_t);
|
||||||
CHECK_TYPE(clock_t);
|
CHECK_TYPE(clock_t);
|
||||||
CHECK_TYPE(time_t);
|
CHECK_TYPE(time_t);
|
||||||
|
CHECK_TYPE(__time32_t);
|
||||||
CHECK_TYPE(__time64_t);
|
CHECK_TYPE(__time64_t);
|
||||||
CHECK_TYPE(fpos_t);
|
CHECK_TYPE(fpos_t);
|
||||||
CHECK_SIZE(FILE);
|
CHECK_SIZE(FILE);
|
||||||
|
|
Loading…
Reference in New Issue