cpython/Include/mymath.h

21 lines
545 B
C
Raw Normal View History

1995-02-18 10:50:12 -04:00
/* On the 68K Mac, when using CFM (Code Fragment Manager),
<math.h> requires special treatment -- we need to surround it with
#pragma lib_export off / on...
This is because MathLib.o is a static library, and exporting its
symbols doesn't quite work...
XXX Not sure now... Seems to be something else going on as well... */
#ifdef SYMANTEC__CFM68K__
1995-02-18 10:50:12 -04:00
#pragma lib_export off
#endif
#include <math.h>
#ifdef SYMANTEC__CFM68K__
1995-02-18 10:50:12 -04:00
#pragma lib_export on
#endif
1996-07-30 13:55:08 -03:00
#ifndef HAVE_HYPOT
extern double hypot Py_PROTO((double, double));
1996-07-30 13:55:08 -03:00
#endif