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