From: Baruch Siach Date: Sat, 26 Apr 2014 17:50:07 +0000 (+0400) Subject: Fix build (broken by fenv.h inclusion) on Linux/x86_64 under uClibc X-Git-Tag: gc7_4_2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=295f454f6d182467c3bf796f8263e0e467ec1c06;p=gc Fix build (broken by fenv.h inclusion) on Linux/x86_64 under uClibc * include/private/gcconfig.h (GETCONTEXT_FPU_EXCMASK_BUG): Do not define for uClibc, as it may not have fenv.h. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index de7998be..f866cc4e 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2235,7 +2235,7 @@ extern int etext[]; # define DATASTART ((ptr_t)((((word) (etext)) + 0xfff) & ~0xfff)) # endif -# if defined(__GLIBC__) +# if defined(__GLIBC__) && !defined(__UCLIBC__) /* At present, there's a bug in GLibc getcontext() on */ /* Linux/x64 (it clears FPU exception mask). We define this */ /* macro to workaround it. */