blob: c4dd68991124cfe0456200930ad06bee094265c7 [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
Guido van Rossumace527c1996-08-29 18:12:36 +000018#ifndef HAVE_HYPOT
19extern double hypot Py_PROTO((double, double));
Guido van Rossum9de624d1996-07-30 16:55:08 +000020#endif