]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/darkplaces-src/builddate.c
Include the source of the Darkplaces engine too
[voretournament/voretournament.git] / misc / source / darkplaces-src / builddate.c
diff --git a/misc/source/darkplaces-src/builddate.c b/misc/source/darkplaces-src/builddate.c
new file mode 100644 (file)
index 0000000..061173e
--- /dev/null
@@ -0,0 +1,12 @@
+#define STRINGIFY2(arg) #arg
+#define STRINGIFY(arg) STRINGIFY2(arg)
+
+extern const char *buildstring;
+const char *buildstring = __TIME__ " " __DATE__
+#ifdef SVNREVISION
+" " STRINGIFY(SVNREVISION)
+#endif
+#ifdef BUILDTYPE
+" " STRINGIFY(BUILDTYPE)
+#endif
+;