std_cctype.h: Undefine macros that conflict with function names defined in this file.
* 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
This commit is contained in:
parent
6c6a14b5fc
commit
11d6fb5451
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -41,6 +41,22 @@
|
||||
#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);
|
||||
|
@ -41,6 +41,16 @@
|
||||
#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;
|
||||
|
Loading…
Reference in New Issue
Block a user