From 63ddb2d4fcd44c552b17085b8ca678cca97e304e Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sun, 28 Oct 2018 19:03:42 -0700 Subject: [PATCH] fix mingw build --- src/libCom/osi/osiClockTime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/osi/osiClockTime.c b/src/libCom/osi/osiClockTime.c index fb9d1532f..b0f4c35eb 100644 --- a/src/libCom/osi/osiClockTime.c +++ b/src/libCom/osi/osiClockTime.c @@ -40,7 +40,7 @@ static struct { static epicsThreadOnceId onceId = EPICS_THREAD_ONCE_INIT; -#ifdef CLOCK_REALTIME +#if defined(CLOCK_REALTIME) && !defined(_WIN32) /* This code is not used on systems without Posix CLOCK_REALTIME, * but the only way to detect that is from the OS headers, so the * Makefile can't exclude compiling this file on those systems.