summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-06-04 22:10:25 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-06-04 22:10:25 (GMT)
commit80dc66e4286d16596968f7b76d62b598ae680291 (patch)
treeb828e2ca2f18fed8b7098679bbd9005d8e916886 /Mac
parentfb1aafd06cd8bd60c9131618e7158c3267fbdb29 (diff)
downloadcpython-80dc66e4286d16596968f7b76d62b598ae680291.zip
cpython-80dc66e4286d16596968f7b76d62b598ae680291.tar.gz
cpython-80dc66e4286d16596968f7b76d62b598ae680291.tar.bz2
Removed support for very old CodeWarrior runtimes.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/mwerks/macuseshlstart.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/Mac/mwerks/macuseshlstart.c b/Mac/mwerks/macuseshlstart.c
index 32b808a..edbb246 100644
--- a/Mac/mwerks/macuseshlstart.c
+++ b/Mac/mwerks/macuseshlstart.c
@@ -7,13 +7,6 @@
#include <setjmp.h>
-#ifdef PRE_CW8
-extern jmp_buf __program_exit; /* exit() does a longjmp() to here */
-extern void (*__atexit_hook)(void); /* atexit() sets this up if it is ever called */
-extern void (*___atexit_hook)(void); /* _atexit() sets this up if it is ever called */
-extern int __aborting; /* abort() sets this and longjmps to __program_exit */
-#endif
-
/*
* clear_stackframe_backlink - set 0(SP) to 0
*
@@ -30,20 +23,7 @@ void __start(void)
{
char *argv = 0;
-#ifdef PRE_CW8
- if (setjmp(__program_exit) == 0) { // set up jmp_buf for exit()
- main(0, &argv); // call main(argc, argv)
- if (__atexit_hook)
- __atexit_hook(); // call atexit() procs
- }
- if (!__aborting) {
- if (___atexit_hook)
- ___atexit_hook(); // call _atexit() procs
- }
-// ExitToShell();
-#else
clear_stackframe_backlink();
main(0, &argv);
exit(0);
-#endif
}