diff options
author | rpj <rpj> | 2011-07-02 02:18:43 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-07-02 02:18:43 +0000 |
commit | e516576e75527fb763e800e61dd024461141ec14 (patch) | |
tree | f24a77bca51ebf42b2198342033b705b7e660ce4 /tests/spin4.c | |
parent | c34bf0c659b945f0c012b1cdd7ea80de8292c608 (diff) |
See the ChangeLogs
Diffstat (limited to 'tests/spin4.c')
-rw-r--r-- | tests/spin4.c | 9 |
1 files changed, 2 insertions, 7 deletions
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 <sys/timeb.h> 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)) |