From 5ddfdb2d8d352857bd9f307e1be7fa3154243103 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 28 Nov 2014 09:02:52 -0600 Subject: [PATCH] cctype: Undefined macros defined ctype.h so that builtin C++ implementations will be used --- include/cxx/cctype | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/cxx/cctype b/include/cxx/cctype index 5d3b6dc701..d3304247aa 100644 --- a/include/cxx/cctype +++ b/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 //***************************************************************************