diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-20 16:25:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-02-20 16:25:31 (GMT) |
commit | 56ed26ed118fffb85d6ed0bc350165da40e5051f (patch) | |
tree | 75eca3624d0de8f9cf73c4c170f3ac21e83fd773 | |
parent | b697173b5f635edc771259603f0d7a240162f968 (diff) | |
download | cpython-56ed26ed118fffb85d6ed0bc350165da40e5051f.zip cpython-56ed26ed118fffb85d6ed0bc350165da40e5051f.tar.gz cpython-56ed26ed118fffb85d6ed0bc350165da40e5051f.tar.bz2 |
Ported to CW8 (added PRE_CW8 ifdef for CW7, for the time being)
-rw-r--r-- | Mac/Python/macshlglue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Python/macshlglue.c b/Mac/Python/macshlglue.c index aa4cfb7..fc2adaf 100644 --- a/Mac/Python/macshlglue.c +++ b/Mac/Python/macshlglue.c @@ -9,6 +9,7 @@ #include <Resources.h> #ifdef __MWERKS__ +#ifdef PRE_CW8 /* ** This part is copied from MW Startup.c, which is ** Copyright © 1993 metrowerks inc. All Rights Reserved. @@ -26,6 +27,7 @@ void (*__atexit_hook)(void); /* atexit() sets this up if it is ever called */ void (*___atexit_hook)(void); /* _atexit() sets this up if it is ever called */ int __aborting; /* abort() sets this and longjmps to __program_exit */ #endif +#endif /* ** Variables passed from shared lib initialization to PyMac_AddLibResources. |