Replaced enum in cc65.h by defines. added comment that cc65 exit constants should not redefine 0 and 1 as they are reserved for exit_success and exit_failure
This commit is contained in:
@@ -70,7 +70,7 @@ static void err_exit(char *operation, unsigned char oserr)
|
||||
operation);
|
||||
}
|
||||
getchar();
|
||||
exit(CC65_EXIT_FAILURE);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
@@ -343,5 +343,5 @@ int main(int argc, char* argv[])
|
||||
printf("Convert to '%.*s' successful", dir_entry->storage_length.name_length,
|
||||
dir_entry->file_name);
|
||||
getchar();
|
||||
return CC65_EXIT_SUCCESS;
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user