mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
bitmask.h: compile only if in POSIX/LINUX platforms
This commit is contained in:
parent
f5000a9691
commit
993755b24b
@ -40,7 +40,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus) && (defined(__PX4_POSIX) || defined(__PX4_LINUX))
|
||||
|
||||
#include<type_traits>
|
||||
|
||||
@ -151,4 +151,4 @@ operator^=(E &lhs, E rhs)
|
||||
|
||||
} /* namespace px4 */
|
||||
|
||||
#endif /* __cplusplus */
|
||||
#endif /* __cplusplus && (__PX4_POSIX || __PX4_LINUX) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user