]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - builddate.c
fix boneposerelative address
[xonotic/darkplaces.git] / builddate.c
index dcf45be2d10382cbe395222558735cb04ae82a66..061173ef4ca90c0750817b27ac9a80ac72db257e 100644 (file)
@@ -1,3 +1,12 @@
+#define STRINGIFY2(arg) #arg
+#define STRINGIFY(arg) STRINGIFY2(arg)
 
-char *buildstring = __TIME__ " " __DATE__;
-
+extern const char *buildstring;
+const char *buildstring = __TIME__ " " __DATE__
+#ifdef SVNREVISION
+" " STRINGIFY(SVNREVISION)
+#endif
+#ifdef BUILDTYPE
+" " STRINGIFY(BUILDTYPE)
+#endif
+;