mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
[qfcc] Define __RUAMOKO__ as 2 for Ruamoko ISA
and __RAUMOKO__ as well.
This commit is contained in:
parent
d8f6a9445e
commit
09eef8a07b
1 changed files with 7 additions and 2 deletions
|
@ -713,8 +713,13 @@ DecodeArgs (int argc, char **argv)
|
|||
options.code.progsversion = PROG_V6P_VERSION;
|
||||
if (!options.traditional) {
|
||||
options.advanced = true;
|
||||
add_cpp_def ("-D__RUAMOKO__=1");
|
||||
add_cpp_def ("-D__RAUMOKO__=1");
|
||||
if (options.code.progsversion < PROG_VERSION) {
|
||||
add_cpp_def ("-D__RUAMOKO__=1");
|
||||
add_cpp_def ("-D__RAUMOKO__=1");
|
||||
} else {
|
||||
add_cpp_def ("-D__RUAMOKO__=2");
|
||||
add_cpp_def ("-D__RAUMOKO__=2");
|
||||
}
|
||||
if (options.code.ifstring == (qboolean) -1)
|
||||
options.code.ifstring = false;
|
||||
if (options.code.short_circuit == (qboolean) -1)
|
||||
|
|
Loading…
Reference in a new issue