1 #define __CRT__NO_INLINE 2 #include <sys/stat.h> 3 #include <sys/timeb.h> 4 5 /* FIXME: Relying on _USE_32BIT_TIME_T, which is a user-macro, 6 during CRT compilation is plainly broken. Need an appropriate 7 implementation to provide users the ability of compiling the 8 CRT only with 32-bit time_t behavior. */ 9 #if defined(_USE_32BIT_TIME_T) ftime(struct timeb * b)10void __cdecl ftime (struct timeb *b) 11 { 12 return _ftime ((struct __timeb32 *)b); 13 } 14 #else ftime(struct timeb * b)15void __cdecl ftime (struct timeb *b) 16 { 17 _ftime64((struct __timeb64 *)b); 18 } 19 #endif 20