diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-03-10 22:35:01 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-03-10 22:35:01 +0000 |
commit | 8a0e5115f4da68797687e5ed6963153313893595 (patch) | |
tree | 6f7ab7c2c6b65b915be9c5db2c4045b7a0f6dabb /gcc/system.h | |
parent | 6439a1f2046eabe1ada6fc14f428e85f71369189 (diff) | |
download | gcc-8a0e5115f4da68797687e5ed6963153313893595.zip gcc-8a0e5115f4da68797687e5ed6963153313893595.tar.gz gcc-8a0e5115f4da68797687e5ed6963153313893595.tar.bz2 |
system.h (malloc, [...]): #undef token before poisoning it.
* system.h (malloc, realloc, calloc, strdup, bzero, bcmp, rindex):
#undef token before poisoning it.
From-SVN: r40371
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 0ea6c3f..4343441 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -594,10 +594,17 @@ typedef char _Bool; #if (GCC_VERSION >= 3000) +#undef malloc +#undef realloc +#undef calloc +#undef strdup #pragma GCC poison malloc realloc calloc strdup /* Note: not all uses of `bcopy' and `index' (esp. variable names) have been eliminated. */ +#undef bzero +#undef bcmp +#undef rindex #pragma GCC poison bzero bcmp rindex #endif /* GCC >= 3.0 */ |