summaryrefslogtreecommitdiff
path: root/tests/stress1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stress1.c')
-rw-r--r--tests/stress1.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/stress1.c b/tests/stress1.c
index e4dbbd2..7c787dc 100644
--- a/tests/stress1.c
+++ b/tests/stress1.c
@@ -111,11 +111,7 @@ enum {
struct timespec *
millisecondsFromNow (struct timespec * time, int millisecs)
{
-#if (defined(__MINGW64__) || defined(__MINGW32__)) && __MSVCRT_VERSION__ >= 0x0601
- struct __timeb64 currSysTime;
-#else
- struct _timeb currSysTime;
-#endif
+ PTW32_STRUCT_TIMEB currSysTime;
int64_t nanosecs, secs;
const int64_t NANOSEC_PER_MILLISEC = 1000000;
const int64_t NANOSEC_PER_SEC = 1000000000;