From: H.J. Lu Date: Mon, 6 Sep 2010 21:13:56 +0000 (+0000) Subject: Properly check glibc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e18507b6834ce629c8bef80adacb19ef205279f;p=gcc.git Properly check glibc. 2010-09-06 H.J. Lu * config/i386/linux-unwind.h (x86_fallback_frame_state): Properly check glibc. From-SVN: r163933 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 965d0c3002f..f51c9083a41 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-09-06 H.J. Lu + + * config/i386/linux-unwind.h (x86_fallback_frame_state): Properly + check glibc. + 2010-09-06 Uros Bizjak PR target/22152 diff --git a/gcc/config/i386/linux-unwind.h b/gcc/config/i386/linux-unwind.h index 36ee3709261..415f7a3702b 100644 --- a/gcc/config/i386/linux-unwind.h +++ b/gcc/config/i386/linux-unwind.h @@ -106,7 +106,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context, 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 libc version macro should be enough. */ -#if !(__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) +#if defined __GLIBC__ && !(__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) #include #include