mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 01:13:35 +08:00
exclude macro hack for tests target
This commit is contained in:
@@ -177,9 +177,11 @@ typedef param_t px4_param_t;
|
||||
#define PX4_PARAM_GET_BYNAME(_name, _destpt) param_get(param_find(_name), _destpt)
|
||||
|
||||
/* XXX this is a hack to resolve conflicts with NuttX headers */
|
||||
#if !defined(__PX4_TESTS)
|
||||
#define isspace(c) \
|
||||
((c) == ' ' || (c) == '\t' || (c) == '\n' || \
|
||||
(c) == '\r' || (c) == '\f' || c== '\v')
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user