* include/c/bits/std_cctype.h: Undefine macros that conflict
with function names defined in this file.
* include/c/bits/std_cstdio.h: Likewise.
From-SVN: r37221
+Thu Nov 2 23:19:20 2000 Mark P Mitchell <mark@codesourcery.com>
+
+ * include/c/bits/std_cctype.h: Undefine macros that conflict
+ with function names defined in this file.
+ * include/c/bits/std_cstdio.h: Likewise.
+
2000-11-02 Mark Mitchell <mark@codesourcery.com>
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
#pragma GCC system_header
#include_next <ctype.h>
+// Get rid of those macros defined in <ctype.h> in lieu of real functions.
+#undef isalnum
+#undef isalpha
+#undef isblank
+#undef iscntrl
+#undef isdigit
+#undef isgraph
+#undef islower
+#undef isprint
+#undef ispunct
+#undef isspace
+#undef isupper
+#undef isxdigit
+#undef tolower
+#undef toupper
+
namespace std
{
extern "C" int isalnum(int __c);
#pragma GCC system_header
#include_next <stdio.h>
+// Get rid of those macros defined in <stdio.h> in lieu of real functions.
+#undef clearerr
+#undef feof
+#undef ferror
+#undef fileno
+#undef getc
+#undef getchar
+#undef putc
+#undef putchar
+
namespace std
{
using ::FILE;