Improved some error messages for command line processing.
[python/dscho.git] / Python / pyfpe.c
blobb3d99854d5c4efaf1f8fe8b677d229388b2382de
1 #include "config.h"
2 #include "pyfpe.h"
3 /*
4 * The signal handler for SIGFPE is actually declared in an external
5 * module fpectl, or as preferred by the user. These variable
6 * definitions are required in order to compile Python without
7 * getting missing externals, but to actually handle SIGFPE requires
8 * defining a handler and enabling generation of SIGFPE.
9 */
11 #ifdef WANT_SIGFPE_HANDLER
12 jmp_buf PyFPE_jbuf;
13 int PyFPE_counter = 0;
14 double PyFPE_dummy(void *dummy){ return 1.0; }
15 #else
16 #ifdef __MWERKS__
18 * Metrowerks fails when compiling an empty file, at least in strict ANSI
19 * mode. - [cjh]
21 static double PyFPE_dummy( void * );
22 static double PyFPE_dummy( void *dummy ) { return 1.0; }
23 #endif
24 #endif