diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-28 09:27:42 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-28 09:27:42 +0100 |
commit | ae4b05e2c51d07369b5d131052099ac346b0841c (patch) | |
tree | 10f0e9f6c2e3a9c5315a8100452194cd4a45f716 | |
parent | ea06788bf84e8d57daf125d076661fc4c9ef2651 (diff) | |
download | nuttx-ae4b05e2c51d07369b5d131052099ac346b0841c.tar.gz nuttx-ae4b05e2c51d07369b5d131052099ac346b0841c.tar.bz2 nuttx-ae4b05e2c51d07369b5d131052099ac346b0841c.zip |
Undefine C macros conflicting with equivalent functions in C++
-rw-r--r-- | nuttx/include/cxx/cctype | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/include/cxx/cctype b/nuttx/include/cxx/cctype index 5d3b6dc70..d3304247a 100644 --- a/nuttx/include/cxx/cctype +++ b/nuttx/include/cxx/cctype @@ -42,6 +42,21 @@ #include <ctype.h> +// Remove macros in favor of real functions +#undef isalnum +#undef isalpha +#undef iscntrl +#undef isdigit +#undef isgraph +#undef islower +#undef isprint +#undef ispunct +#undef isspace +#undef isupper +#undef isxdigit +#undef tolower +#undef toupper + //*************************************************************************** // Namespace //*************************************************************************** |