diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 00:19:30 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2015-01-07 00:19:30 +0100 |
commit | e855e4454cce0a3bdc51b785a44d7660ae5a921d (patch) | |
tree | 2abe93915bf7c223d948e016cbd1b2ad9a8d67b3 /src/platforms | |
parent | 213f08ee07c57d4781002cefe797f7ce9e9fd561 (diff) | |
download | px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.gz px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.tar.bz2 px4-firmware-e855e4454cce0a3bdc51b785a44d7660ae5a921d.zip |
exclude macro hack for tests target
Diffstat (limited to 'src/platforms')
-rw-r--r-- | src/platforms/px4_defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platforms/px4_defines.h b/src/platforms/px4_defines.h index 457b5abe3..28eef7e18 100644 --- a/src/platforms/px4_defines.h +++ b/src/platforms/px4_defines.h @@ -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 |