]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - builddate.c
Blub's "deflate" extension to the download system.
[xonotic/darkplaces.git] / builddate.c
index c20120b0e7b3e67c25361cc053be46d19b418195..912252b1146bd28f6d173a48aa83a2d9e21feafa 100644 (file)
@@ -1,2 +1,11 @@
+#define STRINGIFY2(arg) #arg
+#define STRINGIFY(arg) STRINGIFY2(arg)
 
-char *buildstring = __TIME__ " " __DATE__;
+char *buildstring = __TIME__ " " __DATE__
+#ifdef SVNREVISION
+" " STRINGIFY(SVNREVISION)
+#endif
+#ifdef BUILDTYPE
+" " STRINGIFY(BUILDTYPE)
+#endif
+;