]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/version.h
fix homedir version
[xonotic/netradiant.git] / include / version.h
index 52bc65e7c8a80f648755212ba5ff721f06827c16..3df8773e90359c41d4f7eca588c4c66d5db2ec21 100644 (file)
@@ -1,4 +1,13 @@
-// generated header, see makeversion.py
-#define RADIANT_VERSION "1.6.2"
-#define RADIANT_MINOR_VERSION "2"
-#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