summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorStephen Hutchinson <qyot27@gmail.com>2013-07-10 05:48:19 -0400
committerwm4 <wm4@nowhere>2013-07-11 09:27:01 +0200
commitd176f9571f22bc3b007f97544732698cec85a36e (patch)
tree807801b349fe3a35c740e0943598d73200a1fc2e /core
parentb5d2ba4a63654bc9f264ee66a5fb1abf0eaddf8a (diff)
downloadmpv-d176f9571f22bc3b007f97544732698cec85a36e.tar.bz2
mpv-d176f9571f22bc3b007f97544732698cec85a36e.tar.xz
build: make the "built on" report opt-out
Diffstat (limited to 'core')
-rw-r--r--core/version.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/version.c b/core/version.c
index 7e747044a3..23a0c59bc3 100644
--- a/core/version.c
+++ b/core/version.c
@@ -17,6 +17,10 @@
*/
#include "version.h"
+#ifdef NO_BUILD_TIMESTAMPS
+#undef BUILDDATE
+#define BUILDDATE "UNKNOWN"
+#endif
const char *mplayer_version = "mpv " VERSION;
-const char *mplayer_builddate = BUILDDATE; \ No newline at end of file
+const char *mplayer_builddate = BUILDDATE;