| 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 | #include <sys/timeb.h> |
| 8 | |
| 9 | int __cdecl ftime64(struct __timeb64 *tb64); |
| 10 | int __cdecl ftime64(struct __timeb64 *tb64) |
| 11 | { |
| 12 | _ftime64(tb64); |
| 13 | return 0; |
| 14 | } |
| 15 | |
| 16 | /* On 64-bit systems is ftime ABI using 64-bit time_t */ |
| 17 | #ifdef _WIN64 |
| 18 | int __attribute__ ((alias("ftime64"))) __cdecl ftime(struct timeb *); |
| 19 | #endif |