mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Define realtime clock for systems not having one
This commit is contained in:
committed by
Lorenz Meier
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()
|
||||
|
||||
Reference in New Issue
Block a user