0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/Include/mymath.h
1996-08-08 18:44:36 +00:00

23 lines
612 B
C

/* 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__
#pragma lib_export off
#endif
#include <math.h>
#ifdef SYMANTEC__CFM68K__
#pragma lib_export on
#endif
#if defined(HAVE_HYPOT)
/* Defined in <math.h> */
#else
extern double hypot Py_PROTO((double, double)); /* defined in mathmodule.c */
#endif