summaryrefslogtreecommitdiffstats
path: root/common/version.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'common/version.h.in')
-rw-r--r--common/version.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/version.h.in b/common/version.h.in
new file mode 100644
index 0000000..b09718f
--- /dev/null
+++ b/common/version.h.in
@@ -0,0 +1,7 @@
+#define VERSION "@VERSION@"
+#define MPVCOPYRIGHT "Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects"
+#ifndef NO_BUILD_TIMESTAMPS
+#define BUILDDATE __DATE__ " " __TIME__
+#else
+#define BUILDDATE "UNKNOWN"
+#endif