mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
always define GMQCC, never define FTEQCC or QCC, but have __STD_FTEQCC__ and the likes for -std=qcc/gmqcc/fteqcc
This commit is contained in:
parent
7b56ad9405
commit
e7bf73455d
1 changed files with 6 additions and 5 deletions
7
ftepp.c
7
ftepp.c
|
@ -1365,12 +1365,13 @@ bool ftepp_init()
|
|||
return false;
|
||||
|
||||
/* set the right macro based on the selected standard */
|
||||
ftepp_add_define(NULL, "GMQCC");
|
||||
if (opts_standard == COMPILER_FTEQCC)
|
||||
ftepp_add_define(NULL, "FTEQCC");
|
||||
ftepp_add_define(NULL, "__STD_FTEQCC__");
|
||||
else if (opts_standard == COMPILER_GMQCC)
|
||||
ftepp_add_define(NULL, "GMQCC");
|
||||
ftepp_add_define(NULL, "__STD_GMQCC__");
|
||||
else if (opts_standard == COMPILER_QCC)
|
||||
ftepp_add_define(NULL, "QCC");
|
||||
ftepp_add_define(NULL, "__STD_QCC__");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue