1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-25 22:18:27 +00:00

Added enum for cc65 exit codes. replaced stdlib exit code names constants in libsrc with cc65 exit code named constants

This commit is contained in:
mc78
2019-11-12 13:08:33 +01:00
committed by Oliver Schmidt
parent 7bae9038cf
commit 3daecfb3dd
7 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -17,5 +17,5 @@ void __fastcall__ _afailed (char* file, unsigned line)
{
raise (SIGABRT);
fprintf (stderr, "ASSERTION FAILED IN %s(%u)\n", file, line);
exit (2);
exit (CC65_EXIT_AFAILED);
}
+1 -1
View File
@@ -16,7 +16,7 @@ void abort (void)
{
raise (SIGABRT);
fputs ("ABNORMAL PROGRAM TERMINATION\n", stderr);
exit (3);
exit (CC65_EXIT_ABORT);
}