home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / python / pytexdoc / ext / source / !Python / h / mymath < prev    next >
Encoding:
Text File  |  1996-11-06  |  589 b   |  23 lines

  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. /* RISCOS (Norcroft c) does not like this
  9. #ifdef SYMANTEC__CFM68K__
  10. #pragma lib_export on
  11. #endif
  12. */
  13.  
  14. #include <math.h>
  15.  
  16. #ifdef SYMANTEC__CFM68K__
  17. #pragma lib_export on
  18. #endif
  19.  
  20. #ifndef HAVE_HYPOT
  21. extern double hypot Py_PROTO((double, double));
  22. #endif
  23.