Skip to content

Commit

Permalink
osiClockTime Darwin doesn't use.
Browse files Browse the repository at this point in the history
Darwin/osdTime.cpp unconditionally provides osdTimeGetCurrent()
and never calls ClockTime_Init().
  • Loading branch information
mdavidsaver committed May 20, 2019
1 parent 2c99c36 commit 655c5be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/libcom/src/osi/osiClockTime.c
Expand Up @@ -40,7 +40,7 @@ static struct {
static epicsThreadOnceId onceId = EPICS_THREAD_ONCE_INIT;


#if defined(CLOCK_REALTIME) && !defined(_WIN32)
#if defined(CLOCK_REALTIME) && !defined(_WIN32) && !defined(__APPLE__)
/* 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.
Expand Down

0 comments on commit 655c5be

Please sign in to comment.