Staging
v0.5.1
https://github.com/python/cpython
Revision 34570d7669744c69d2b03918b88af8cd9f5b8392 authored by Guido van Rossum on 14 May 1997, 17:59:37 UTC, committed by Guido van Rossum on 14 May 1997, 17:59:37 UTC
1 parent af5dfb4
Raw File
Tip revision: 34570d7669744c69d2b03918b88af8cd9f5b8392 authored by Guido van Rossum on 14 May 1997, 17:59:37 UTC
A new set of symbols. Hopefully this will be sufficient, I have no
Tip revision: 34570d7
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

#ifndef HAVE_HYPOT
extern double hypot Py_PROTO((double, double));
#endif
back to top