forked from Archive/PX4-Autopilot
Define realtime clock for systems not having one
This commit is contained in:
parent
adf56050b9
commit
676e90cd98
|
@ -206,6 +206,7 @@ if(UNIX AND APPLE)
|
|||
if (DARWIN_VERSION LESS 16)
|
||||
list(APPEND added_definitions
|
||||
-DCLOCK_MONOTONIC=1
|
||||
-DCLOCK_REALTIME=0
|
||||
-D__PX4_APPLE_LEGACY
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue