From ae4b05e2c51d07369b5d131052099ac346b0841c Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 28 Nov 2014 09:27:42 +0100 Subject: Undefine C macros conflicting with equivalent functions in C++ --- nuttx/include/cxx/cctype | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 +// 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 //*************************************************************************** -- cgit v1.2.3