mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Patch by Oliver Andrich for Lunix using glibc.
This commit is contained in:
parent
92d91f56a7
commit
aa6fa6bbeb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user