mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
Fix normal exit for plan9
This commit is contained in:
parent
c8c31076ce
commit
0e85ac611d
1 changed files with 2 additions and 1 deletions
3
main.c
3
main.c
|
@ -15,6 +15,7 @@
|
|||
|
||||
#ifdef PLAN9
|
||||
#define exit_failure() exits("ERROR")
|
||||
#define exit exits
|
||||
#else
|
||||
#define exit_failure() exit(70)
|
||||
#endif
|
||||
|
@ -447,5 +448,5 @@ void run_main (int argc, char **argv) {
|
|||
int main (int argc, char **argv) {
|
||||
sexp_scheme_init();
|
||||
run_main(argc, argv);
|
||||
return 0;
|
||||
exit(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue