summaryrefslogtreecommitdiff
path: root/pr/src/md/unix/pthreads_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'pr/src/md/unix/pthreads_user.c')
-rw-r--r--pr/src/md/unix/pthreads_user.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/pr/src/md/unix/pthreads_user.c b/pr/src/md/unix/pthreads_user.c
index efc3ff70..63908b21 100644
--- a/pr/src/md/unix/pthreads_user.c
+++ b/pr/src/md/unix/pthreads_user.c
@@ -238,11 +238,7 @@ PRUint32 ticks = PR_TicksPerSecond();
tmo.tv_nsec);
/* pthreads wants this in absolute time, off we go ... */
-#if defined(SOLARIS) && defined(_SVID_GETTOD)
- (void)gettimeofday(&now);
-#else
- (void)gettimeofday(&now, NULL);
-#endif
+ (void)GETTIMEOFDAY(&now);
/* that one's usecs, this one's nsecs - grrrr! */
tmo.tv_sec += now.tv_sec;
tmo.tv_nsec += (PT_NANOPERMICRO * now.tv_usec);