diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/fpectlmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/fpectlmodule.c b/Modules/fpectlmodule.c index 5e21680..e2a8022 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 <fpu_control.h> +#else #include <i386/fpu_control.h> +#endif __setfpucw(0x1372); signal(SIGFPE, handler); |