]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - builddate.c
Merge PR 'Use the text from modinfo.txt as the mod menu entry'
[xonotic/darkplaces.git] / builddate.c
index 061173ef4ca90c0750817b27ac9a80ac72db257e..7106dc9b669e41a19a90e92c539e150da6f6f1cd 100644 (file)
@@ -2,9 +2,15 @@
 #define STRINGIFY(arg) STRINGIFY2(arg)
 
 extern const char *buildstring;
-const char *buildstring = __TIME__ " " __DATE__
-#ifdef SVNREVISION
-" " STRINGIFY(SVNREVISION)
+const char *buildstring =
+#ifdef VCREVISION
+STRINGIFY(VCREVISION)
+#else
+"-"
+#endif
+#ifndef NO_BUILD_TIMESTAMPS
+//" " __TIME__
+" " __DATE__
 #endif
 #ifdef BUILDTYPE
 " " STRINGIFY(BUILDTYPE)