--- mstools/h/sys/timeb.h 2018/08/09 18:20:01 1.1 +++ mstools/h/sys/timeb.h 2018/08/09 18:20:36 1.1.1.2 @@ -1,7 +1,7 @@ /*** *sys\timeb.h - definition/declarations for _ftime() * -* Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. +* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved. * *Purpose: * This file define the _ftime() function and the types it uses. @@ -16,9 +16,11 @@ extern "C" { #endif +#ifndef MIPS #if (_MSC_VER <= 600) #define __cdecl _cdecl #endif +#endif #ifndef _TIME_T_DEFINED typedef long time_t; @@ -31,13 +33,10 @@ typedef long time_t; struct _timeb { time_t time; unsigned short millitm; - short _timezone; + short tmzone; /* NOTE NAME CHANGE!! */ short dstflag; }; -/* must be same name as extern declared in time.h */ -#define timezone _timezone - #if !__STDC__ /* Non-ANSI name for compatibility */ #define timeb _timeb