diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-11-28 09:02:52 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-11-28 09:02:52 -0600 |
commit | 514fdcb4f57dd54de66d038dc46b8196ea84f0bf (patch) | |
tree | ebf09de748a9ef382d2d9fa21797bdb8779c39d9 /nuttx | |
parent | 6412efa51c618504a8f130bdb60b1c54d775dc5b (diff) | |
download | px4-nuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.tar.gz px4-nuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.tar.bz2 px4-nuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.zip |
cctype: Undefined macros defined ctype.h so that builtin C++ implementations will be used
Diffstat (limited to 'nuttx')
-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 //*************************************************************************** |