Define realtime clock for systems not having one

This commit is contained in:
Lorenz Meier 2016-09-27 11:08:29 +02:00 committed by Lorenz Meier
parent adf56050b9
commit 676e90cd98
1 changed files with 1 additions and 0 deletions

View File

@ -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()