home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / Python 1.4 / Python 1.4 source / Include / mymath.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-14  |  545 b   |  21 lines  |  [TEXT/CWIE]

  1. /* 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.  
  8. #ifdef SYMANTEC__CFM68K__
  9. #pragma lib_export off
  10. #endif
  11.  
  12. #include <math.h>
  13.  
  14. #ifdef SYMANTEC__CFM68K__
  15. #pragma lib_export on
  16. #endif
  17.  
  18. #ifndef HAVE_HYPOT
  19. extern double hypot Py_PROTO((double, double));
  20. #endif
  21.