Restructure the file so that it is never empty. No longer needs

Metrowerks specific #ifdef.
This commit is contained in:
Guido van Rossum 1998-08-25 17:48:25 +00:00
parent 3293b07df5
commit d0dc5b06a2
1 changed files with 10 additions and 10 deletions

View File

@ -11,14 +11,14 @@
#ifdef WANT_SIGFPE_HANDLER #ifdef WANT_SIGFPE_HANDLER
jmp_buf PyFPE_jbuf; jmp_buf PyFPE_jbuf;
int PyFPE_counter = 0; int PyFPE_counter = 0;
double PyFPE_dummy(void *dummy){ return 1.0; }
#else
#ifdef __MWERKS__
/*
* Metrowerks fails when compiling an empty file, at least in strict ANSI
* mode. - [cjh]
*/
static double PyFPE_dummy( void * );
static double PyFPE_dummy( void *dummy ) { return 1.0; }
#endif
#endif #endif
/* Have this outside the above #ifdef, since some picky ANSI compilers issue a
warning when compiling an empty file. */
double
PyFPE_dummy(dummy)
void *dummy;
{
return 1.0;
}