summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-28 09:02:52 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-28 09:02:52 -0600
commit514fdcb4f57dd54de66d038dc46b8196ea84f0bf (patch)
treeebf09de748a9ef382d2d9fa21797bdb8779c39d9 /nuttx/include
parent6412efa51c618504a8f130bdb60b1c54d775dc5b (diff)
downloadnuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.tar.gz
nuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.tar.bz2
nuttx-514fdcb4f57dd54de66d038dc46b8196ea84f0bf.zip
cctype: Undefined macros defined ctype.h so that builtin C++ implementations will be used
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/cxx/cctype15
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
//***************************************************************************