Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
80dc66e4
Commit
80dc66e4
authored
Jun 04, 2000
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed support for very old CodeWarrior runtimes.
parent
fb1aafd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
Mac/mwerks/macuseshlstart.c
Mac/mwerks/macuseshlstart.c
+0
-20
No files found.
Mac/mwerks/macuseshlstart.c
View file @
80dc66e4
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment