From: Guido van Rossum Date: Mon, 15 Dec 1997 18:07:10 +0000 (+0000) Subject: Patch by Oliver Andrich for Lunix using glibc. X-Git-Tag: v1.5~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6fa6bbebc03dd6bb22b61a504d603871410e70;p=thirdparty%2FPython%2Fcpython.git Patch by Oliver Andrich for Lunix using glibc. --- diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index 5e216804d110..e2a802272358 100644 --- a/Modules/fpectlmodule.c +++ b/Modules/fpectlmodule.c @@ -180,7 +180,11 @@ static void fpe_reset(Sigfunc *handler) /*-- Linux ----------------------------------------------------------------*/ #elif defined(linux) +#ifdef __GLIBC__ +#include +#else #include +#endif __setfpucw(0x1372); signal(SIGFPE, handler);