Skip to content

Commit

Permalink
cli: Make --disable-build-date display no 'built on' line at all
Browse files Browse the repository at this point in the history
  • Loading branch information
qyot27 committed Jul 29, 2018
1 parent 5532a3d commit 09f4491
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions common/version.c
Expand Up @@ -19,9 +19,11 @@
#include "version.h"
#ifdef NO_BUILD_TIMESTAMPS
#undef BUILDDATE
#define BUILDDATE "UNKNOWN"
#define BUILDDATE_FULL ""
#else
#define BUILDDATE_FULL "\n built on " BUILDDATE
#endif

const char mpv_version[] = "mpv " VERSION;
const char mpv_builddate[] = BUILDDATE;
const char mpv_builddate[] = BUILDDATE_FULL;
const char mpv_copyright[] = MPVCOPYRIGHT;

0 comments on commit 09f4491

Please sign in to comment.