]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
__STD_QCCX__ on -std=qccx - I have no idea about what qccx does/can do but at least...
authorWolfgang Bumiller <blub@speed.at>
Sun, 6 Jan 2013 19:52:12 +0000 (20:52 +0100)
committerWolfgang Bumiller <blub@speed.at>
Sun, 6 Jan 2013 19:52:12 +0000 (20:52 +0100)
ftepp.c

diff --git a/ftepp.c b/ftepp.c
index 838d0de38d37f9198fbe3fa2e795340e83c09394..d867d7917c6cb4194f6eeb8f817c1112a0d37253 100644 (file)
--- a/ftepp.c
+++ b/ftepp.c
@@ -1652,6 +1652,10 @@ bool ftepp_init()
         ftepp_add_define(NULL, "__STD_GMQCC__");
         sprintf(major, "\"%d\"", GMQCC_VERSION_MAJOR);
         sprintf(minor, "\"%d\"", GMQCC_VERSION_MINOR);
+    } else if (opts.standard == COMPILER_QCCX) {
+        ftepp_add_define(NULL, "__STD_QCCX__");
+        sprintf(major, "\"%d\"", GMQCC_VERSION_MAJOR);
+        sprintf(minor, "\"%d\"", GMQCC_VERSION_MINOR);
     } else if (opts.standard == COMPILER_QCC) {
         ftepp_add_define(NULL, "__STD_QCC__");
         /* 1.0 */