mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Some patches to Lee Busby's fpectl mods that accidentally didn't make it
into 1.5a4.
This commit is contained in:
parent
9476a78c1e
commit
e85da651dd
3 changed files with 40 additions and 30 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#include "config.h"
|
||||
#include "pyfpe.h"
|
||||
|
||||
/*
|
||||
* The signal handler for SIGFPE is actually declared in an external
|
||||
* module fpectl, or as preferred by the user. These variable
|
||||
|
|
@ -12,5 +11,5 @@
|
|||
#ifdef WANT_SIGFPE_HANDLER
|
||||
jmp_buf PyFPE_jbuf;
|
||||
int PyFPE_counter = 0;
|
||||
double PyFPE_dummy(){return(1.0);}
|
||||
double PyFPE_dummy(void *dummy){ return 1.0; }
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue