Browse Source

Define realtime clock for systems not having one

sbg
Lorenz Meier 8 years ago committed by Lorenz Meier
parent
commit
676e90cd98
  1. 1
      cmake/posix/px4_impl_posix.cmake

1
cmake/posix/px4_impl_posix.cmake

@ -206,6 +206,7 @@ if(UNIX AND APPLE) @@ -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…
Cancel
Save