diff options
| author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-19 04:46:29 +0000 |
|---|---|---|
| committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-19 04:46:29 +0000 |
| commit | f1affb61bfd652940b954d4ece4b2c80fb2d271c (patch) | |
| tree | 16585cec58ac977de48413124309695cea7a2614 | |
| parent | 9fb90c4e1b7aaaab00e2b4fe432f4e6a022001cd (diff) | |
| download | ppe42-gcc-f1affb61bfd652940b954d4ece4b2c80fb2d271c.tar.gz ppe42-gcc-f1affb61bfd652940b954d4ece4b2c80fb2d271c.zip | |
PR bootstrap/4068
* config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68177 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/i386/linux.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0d2114247e4..37386dc075f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-18 Joseph S. Myers <jsm@polyomino.org.uk> + + PR bootstrap/4068 + * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0. + 2003-06-19 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index df66a58447b..ae6e8d045c6 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -234,7 +234,7 @@ Boston, MA 02111-1307, USA. */ signal-turned-exceptions for them. There's also no configure-run for the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT_H. Using the target libc1 macro should be enough. */ -#ifndef USE_GNULIBC_1 +#if !(defined (USE_GNULIBC_1) || (__GLIBC__ == 2 && __GLIBC_MINOR__ == 0)) #include <signal.h> #include <sys/ucontext.h> |

