Alexandre Julliard : msvcrt: Fix the time_t definition for the msvcrt build .
Alexandre Julliard
julliard at winehq.org
Mon Jan 5 10:24:28 CST 2009
Module: wine
Branch: master
Commit: f1b363e27da8c1dfd435cee2d5058714a4264559
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f1b363e27da8c1dfd435cee2d5058714a4264559
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jan 5 15:07:53 2009 +0100
msvcrt: Fix the time_t definition for the msvcrt build.
---
dlls/msvcrt/msvcrt.h | 4 +++-
dlls/msvcrt/tests/headers.c | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 28d8f54..8ed8fd9 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -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;
diff --git a/dlls/msvcrt/tests/headers.c b/dlls/msvcrt/tests/headers.c
index c9e9570..7133e1e 100644
--- a/dlls/msvcrt/tests/headers.c
+++ b/dlls/msvcrt/tests/headers.c
@@ -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);
More information about the wine-cvs
mailing list