print which QC version it is
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 12 Feb 2020 15:24:30 +0000 (16:24 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 12 Feb 2020 15:24:30 +0000 (16:24 +0100)
qcsrc/common/debug.qh

index a12d9ff..3091aec 100644 (file)
@@ -224,7 +224,13 @@ GENERIC_COMMAND(version, "Print the current version", false)
        {
                case CMD_REQUEST_COMMAND:
                {
-                       LOG_INFO(WATERMARK);
+#if defined(CSQC)
+                       LOG_INFO("CSQC version: ", WATERMARK);
+#elif defined(SVQC)
+                       LOG_INFO("SVQC version: ", WATERMARK);
+#elif defined(MENUQC)
+                       LOG_INFO("MENUQC version: ", WATERMARK);
+#endif
                        return;
                }
                default: