]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/version.h
q3map2: check Linux prefix against XDG_DATA_HOME before HOME
[xonotic/netradiant.git] / include / version.h
index 91f5e433a8dcc54783a1eee34d7a4f4c0db609f9..3df8773e90359c41d4f7eca588c4c66d5db2ec21 100644 (file)
@@ -1,4 +1,13 @@
-// generated header, see makeversion.py
-#define RADIANT_VERSION "1.6.0"
-#define RADIANT_MINOR_VERSION "0"
-#define RADIANT_MAJOR_VERSION "6"
+// Makefile appends preprocessor flags instead now
+#ifndef RADIANT_VERSION
+#error no RADIANT_VERSION defined
+#endif
+#ifndef RADIANT_MAJOR_VERSION
+#error no RADIANT_MAJOR_VERSION defined
+#endif
+#ifndef RADIANT_MINOR_VERSION
+#error no RADIANT_MINOR_VERSION defined
+#endif
+#ifndef RADIANT_PATCH_VERSION
+#error no RADIANT_PATCH_VERSION defined
+#endif