diff options
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt index 3e44f822d..a87c23be2 100644 --- a/unittests/CMakeLists.txt +++ b/unittests/CMakeLists.txt @@ -26,6 +26,9 @@ include_directories(${PX_SRC}/lib) include_directories(${PX_SRC}/drivers) add_definitions(-D__EXPORT=) +add_definitions(-D__PX4_TESTS) +add_definitions(-Dnoreturn_function=) +add_definitions(-Dmain_t=int) add_definitions(-DERROR=-1) add_definitions(-DOK=0) |