Mercurial > cpython-lru_cache-weakref
view Include/mymath.h @ 4566:6403c94de50d legacy-trunk
Added safeguard against failure in __del__.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 27 Nov 1996 19:39:58 +0000 |
| parents | 315a50cb15e3 |
| children | 2dfc707d6e68 |
line wrap: on
line source
/* 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
