Commit 77b84559 by Kaveh R. Ghazi Committed by Kaveh Ghazi

system.h (malloc, [...]): Only poison these tokens when IN_GCC is defined.

	* system.h (malloc, realloc, calloc, strdup): Only poison these
	tokens when IN_GCC is defined.

From-SVN: r40443
parent f68147f7
2001-03-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h (malloc, realloc, calloc, strdup): Only poison these
tokens when IN_GCC is defined.
Tue Mar 13 14:38:44 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (abs?f expander): Support SSE case.
......
......@@ -584,11 +584,17 @@ typedef char _Bool;
#if (GCC_VERSION >= 3000)
/* Note autoconf checks for prototype declarations and includes
system.h while doing so. Only poison these tokens if actually
compiling gcc, so that the autoconf declaration tests for malloc
etc don't spuriously fail. */
#ifdef IN_GCC
#undef malloc
#undef realloc
#undef calloc
#undef strdup
#pragma GCC poison malloc realloc calloc strdup
#endif /* IN_GCC */
/* Note: not all uses of `bcopy' and `index' (esp. variable names)
have been eliminated. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment