Some patches to Lee Busby's fpectl mods that accidentally didn't make it

into 1.5a4.
This commit is contained in:
Guido van Rossum 1997-10-20 23:50:01 +00:00
parent 9476a78c1e
commit e85da651dd
3 changed files with 40 additions and 30 deletions

View file

@ -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