From e516576e75527fb763e800e61dd024461141ec14 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 2 Jul 2011 02:18:43 +0000 Subject: See the ChangeLogs --- tests/spin4.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'tests/spin4.c') diff --git a/tests/spin4.c b/tests/spin4.c index 44527fe..bf1227d 100644 --- a/tests/spin4.c +++ b/tests/spin4.c @@ -41,13 +41,8 @@ #include pthread_spinlock_t lock = PTHREAD_SPINLOCK_INITIALIZER; -#if (defined(__MINGW64__) || defined(__MINGW32__)) && __MSVCRT_VERSION__ >= 0x0601 - struct __timeb64 currSysTimeStart; - struct __timeb64 currSysTimeStop; -#else - struct _timeb currSysTimeStart; - struct _timeb currSysTimeStop; -#endif +PTW32_STRUCT_TIMEB currSysTimeStart; +PTW32_STRUCT_TIMEB currSysTimeStop; #define GetDurationMilliSecs(_TStart, _TStop) ((_TStop.time*1000+_TStop.millitm) \ - (_TStart.time*1000+_TStart.millitm)) -- cgit v1.2.3