summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/sys/timeb.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/sys/timeb.h')
-rw-r--r--winsup/mingw/include/sys/timeb.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/winsup/mingw/include/sys/timeb.h b/winsup/mingw/include/sys/timeb.h
index 9e9308c5e..24af3673f 100644
--- a/winsup/mingw/include/sys/timeb.h
+++ b/winsup/mingw/include/sys/timeb.h
@@ -22,7 +22,7 @@
*/
struct _timeb
{
- long time;
+ time_t time;
short millitm;
short timezone;
short dstflag;
@@ -34,21 +34,13 @@ struct _timeb
*/
struct timeb
{
- long time;
+ time_t time;
short millitm;
short timezone;
short dstflag;
};
#endif
-struct __timeb64
-{
- __time64_t time;
- short millitm;
- short timezone;
- short dstflag;
-};
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -62,6 +54,14 @@ _CRTIMP void __cdecl __MINGW_NOTHROW ftime (struct timeb*);
/* This requires newer versions of msvcrt.dll (6.10 or higher). */
#if __MSVCRT_VERSION__ >= 0x0601
+struct __timeb64
+{
+ __time64_t time;
+ short millitm;
+ short timezone;
+ short dstflag;
+};
+
_CRTIMP void __cdecl __MINGW_NOTHROW _ftime64 (struct __timeb64*);
#endif /* __MSVCRT_VERSION__ >= 0x0601 */