diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-21 19:01:30 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-21 19:01:30 +0000 |
commit | 44284711c3b61e5c1bbf4aa02db2db6aaaa570d9 (patch) | |
tree | 089a8cfbe3f70b8166f6991c275b05b12908212b /gcc/system.h | |
parent | dd009b87c953b31096ff5323da639a98c8451891 (diff) | |
download | gcc-44284711c3b61e5c1bbf4aa02db2db6aaaa570d9.tar.gz |
* system.h (strerror): Poison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167010 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 42332b3bd01..a6b01973e45 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -684,6 +684,12 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; #pragma GCC poison malloc realloc #endif +/* The %m format should be used when GCC's main diagnostic functions + supporting %m are available, and xstrerror from libiberty + otherwise. */ +#undef strerror + #pragma GCC poison strerror + /* Old target macros that have moved to the target hooks structure. */ #pragma GCC poison ASM_OPEN_PAREN ASM_CLOSE_PAREN \ FUNCTION_PROLOGUE FUNCTION_EPILOGUE \ |