blob: 13d32a6e08651295d54062e3fa0d56c79d6d9d33 [file] [log] [blame]
Guido van Rossum0acd4b61995-02-18 14:50:12 +00001/* On the 68K Mac, when using CFM (Code Fragment Manager),
2 <math.h> requires special treatment -- we need to surround it with
3 #pragma lib_export off / on...
4 This is because MathLib.o is a static library, and exporting its
5 symbols doesn't quite work...
6 XXX Not sure now... Seems to be something else going on as well... */
7
Jack Jansenf9480ce1995-06-27 13:12:09 +00008#ifdef SYMANTEC__CFM68K__
Guido van Rossum0acd4b61995-02-18 14:50:12 +00009#pragma lib_export off
10#endif
11
12#include <math.h>
13
Jack Jansenf9480ce1995-06-27 13:12:09 +000014#ifdef SYMANTEC__CFM68K__
Guido van Rossum0acd4b61995-02-18 14:50:12 +000015#pragma lib_export on
16#endif
Guido van Rossum9de624d1996-07-30 16:55:08 +000017
18#if defined(HAVE_HYPOT)
19/* Defined in <math.h> */
20#else
21extern double hypot PROTO((double, double)); /* defined in mathmodule.c */
22#endif