diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2012-11-05 00:20:21 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2012-11-04 19:20:21 -0500 |
commit | e091ffb72fca7edf47738c3fcf5708fed7d0ad4e (patch) | |
tree | fb9c79ea3e83cf23f6d7cec8186026902c6b9eaf /gcc/system.h | |
parent | 3141cfb6224804e644b3a791d55e5ab7e6eb307e (diff) | |
download | gcc-e091ffb72fca7edf47738c3fcf5708fed7d0ad4e.zip gcc-e091ffb72fca7edf47738c3fcf5708fed7d0ad4e.tar.gz gcc-e091ffb72fca7edf47738c3fcf5708fed7d0ad4e.tar.bz2 |
* system.h (loc_t): Poison.
From-SVN: r193150
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 ed36bae..5d8e520b 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 \ |