Commit 291c9a22 authored by Guido van Rossum's avatar Guido van Rossum

Patch by Oliver Andrich for Lunix using glibc.

parent c0404e15
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment