mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 22:30:22 +00:00
version: move NO_BUILD_TIMESTAMPS check to version.h.in
This commit is contained in:
parent
df7a094765
commit
a39e75ad89
@ -17,10 +17,6 @@
|
||||
|
||||
#include "common.h"
|
||||
#include "version.h"
|
||||
#ifdef NO_BUILD_TIMESTAMPS
|
||||
#undef BUILDDATE
|
||||
#define BUILDDATE "UNKNOWN"
|
||||
#endif
|
||||
|
||||
const char mpv_version[] = "mpv " VERSION;
|
||||
const char mpv_builddate[] = BUILDDATE;
|
||||
|
@ -1,3 +1,7 @@
|
||||
#define VERSION "@VERSION@"
|
||||
#define BUILDDATE __DATE__ " " __TIME__
|
||||
#define MPVCOPYRIGHT "Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects"
|
||||
#ifndef NO_BUILD_TIMESTAMPS
|
||||
#define BUILDDATE __DATE__ " " __TIME__
|
||||
#else
|
||||
#define BUILDDATE "UNKNOWN"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user