]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/util-pre.qh
Fix compilation with gmqcc.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / util-pre.qh
index 518a5698d3aead0d6b4fe0a98bce583e89f7f92d..f39c30c0007cb03165d06d181c6c04e534497e25 100644 (file)
@@ -1,9 +1,24 @@
+#ifdef FTEQCC
 #pragma flag enable subscope
 #pragma flag enable lo
+#endif
+
+// FTEQCC can do this
+// #define HAVE_YO_DAWG_CPP
+// No, this is an ex-"feature" and non-C11.
 
 #ifndef NOCOMPAT
 //# define WORKAROUND_XON010
 //# define COMPAT_XON010_CHANNELS
-# define COMPAT_XON050_ENGINE
+//# define COMPAT_XON050_ENGINE
 # define COMPAT_NO_MOD_IS_XONOTIC
+# define COMPAT_XON060_DONTCRASH_CHECKPVS
+#endif
+
+#ifdef FTEQCC
+#ifdef WATERMARK
+const string FTEQCC_SUCKS_WATERMARKS_THROUGH_C60_FULLERENES = WATERMARK();
+#undef WATERMARK
+#define WATERMARK FTEQCC_SUCKS_WATERMARKS_THROUGH_C60_FULLERENES
+#endif
 #endif