mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch by Oliver Andrich for Lunix using glibc.
This commit is contained in:
parent
92d91f56a7
commit
aa6fa6bbeb
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue