bitmask.h: compile only if in POSIX/LINUX platforms

This commit is contained in:
TSC21 2020-02-28 10:32:39 +00:00 committed by Nuno Marques
parent f5000a9691
commit 993755b24b

View File

@ -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) */