From aa6fa6bbebc03dd6bb22b61a504d603871410e70 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 15 Dec 1997 18:07:10 +0000 Subject: [PATCH] Patch by Oliver Andrich for Lunix using glibc. --- Modules/fpectlmodule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index 5e216804d11..e2a80227235 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);