1*c2c66affSColin Finck /** 2*c2c66affSColin Finck * This file has no copyright assigned and is placed in the Public Domain. 3*c2c66affSColin Finck * This file is part of the w64 mingw-runtime package. 4*c2c66affSColin Finck * No warranty is given; refer to the file DISCLAIMER within this package. 5*c2c66affSColin Finck */ 6*c2c66affSColin Finck 7*c2c66affSColin Finck #ifndef _TIMEB_H_S 8*c2c66affSColin Finck #define _TIMEB_H_S 9*c2c66affSColin Finck 10*c2c66affSColin Finck #include <sys/timeb.h> 11*c2c66affSColin Finck 12*c2c66affSColin Finck #ifdef __cplusplus 13*c2c66affSColin Finck extern "C" { 14*c2c66affSColin Finck #endif 15*c2c66affSColin Finck 16*c2c66affSColin Finck #if defined(MINGW_HAS_SECURE_API) 17*c2c66affSColin Finck 18*c2c66affSColin Finck _CRTIMP errno_t __cdecl _ftime32_s(_Out_ struct __timeb32 *_Time); 19*c2c66affSColin Finck _CRTIMP errno_t __cdecl _ftime64_s(_Out_ struct __timeb64 *_Time); 20*c2c66affSColin Finck 21*c2c66affSColin Finck #ifndef _USE_32BIT_TIME_T 22*c2c66affSColin Finck #define _ftime_s _ftime64_s 23*c2c66affSColin Finck #endif 24*c2c66affSColin Finck #endif 25*c2c66affSColin Finck 26*c2c66affSColin Finck #ifdef __cplusplus 27*c2c66affSColin Finck } 28*c2c66affSColin Finck #endif 29*c2c66affSColin Finck 30*c2c66affSColin Finck #endif 31