Commit 6211c09e authored by KO Myung-Hun's avatar KO Myung-Hun Committed by ivoire
Browse files

Do not use clock_gettime() on OS/2.

There is no implementation of clock_gettime() on OS/2.
Signed-off-by: ivoire's avatarRémi Duraffort <>
parent 10b9b0f7
......@@ -527,7 +527,7 @@ static int gettimeofday (struct timeval *tv, void *tz )
uint64_t NTPtime64 (void)
struct timespec ts;
#if defined (CLOCK_REALTIME)
#if defined (CLOCK_REALTIME) && !defined (__OS2__)
clock_gettime (CLOCK_REALTIME, &ts);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment