mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
Fix for BR 561137 (gcc3 compilation issue.)
This commit is contained in:
parent
6d4680a68d
commit
af5bc55524
14
nasm.c
14
nasm.c
@ -488,13 +488,17 @@ static int process_arg (char *p, char *q)
|
||||
break;
|
||||
case 'r':
|
||||
case 'v':
|
||||
printf("NASM version %s compiled "
|
||||
{
|
||||
const char *nasm_version_string =
|
||||
"NASM version " NASM_VER " compiled on " __DATE__
|
||||
#ifdef DEBUG
|
||||
"with -DDEBUG "
|
||||
" with -DDEBUG"
|
||||
#endif
|
||||
"on " __DATE__ "\n", NASM_VER);
|
||||
exit (0); /* never need usage message here */
|
||||
break;
|
||||
;
|
||||
puts(nasm_version_string);
|
||||
exit (0); /* never need usage message here */
|
||||
}
|
||||
break;
|
||||
case 'e': /* preprocess only */
|
||||
operating_mode = op_preprocess;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user