mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
changes for Mac CFM-68K
This commit is contained in:
parent
6b13ba22d9
commit
0acd4b6e82
3 changed files with 28 additions and 0 deletions
16
Include/mymath.h
Normal file
16
Include/mymath.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/* 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 __CFM68K__
|
||||
#pragma lib_export off
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#ifdef __CFM68K__
|
||||
#pragma lib_export on
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue