diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2012-11-05 00:20:21 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2012-11-05 00:20:21 +0000 |
commit | 70cee6e3ceb71bb46ba88c19dd0c5b63560a5ee0 (patch) | |
tree | fb9c79ea3e83cf23f6d7cec8186026902c6b9eaf /gcc/system.h | |
parent | 138b8366829cad2ac17c00de4bc71196904b8225 (diff) |
* system.h (loc_t): Poison.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@193150 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index ed36bae3e3b..5d8e520bbb2 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -774,6 +774,11 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; #undef strerror #pragma GCC poison strerror +/* loc_t is defined on some systems and too inviting for some + programmers to avoid. */ +#undef loc_t + #pragma GCC poison loc_t + /* Old target macros that have moved to the target hooks structure. */ #pragma GCC poison ASM_OPEN_PAREN ASM_CLOSE_PAREN \ FUNCTION_PROLOGUE FUNCTION_EPILOGUE \ |