Staging
v0.5.1
https://github.com/python/cpython
Revision d0fe8454ddfbc5f74fc0c3320a07c209ac9bac70 authored by Guido van Rossum on 26 August 1996, 03:02:37 UTC, committed by Guido van Rossum on 26 August 1996, 03:02:37 UTC
1 parent 4a67a16
Raw File
Tip revision: d0fe8454ddfbc5f74fc0c3320a07c209ac9bac70 authored by Guido van Rossum on 26 August 1996, 03:02:37 UTC
Updated for 1.4beta3
Tip revision: d0fe845
mymath.h
/* 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
back to top