|author||wm4 <wm4@nowhere>||2013-12-22 14:33:15 +0100|
|committer||wm4 <wm4@nowhere>||2013-12-22 14:35:45 +0100|
Don't include version.h from make options.c
I find this annoying. It's the reason common/version.c exists at all. options.c did this for the user agent, which contains the version number. Because not including version.h means you can't build the user agent and use it in mp_default_opts anymore, do something rather awkward in main.c to initialize the default user agent.
Diffstat (limited to 'common/version.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/common/version.c b/common/version.c
index 23a0c59bc3..83177a5fc7 100644
@@ -22,5 +22,5 @@
#define BUILDDATE "UNKNOWN"
-const char *mplayer_version = "mpv " VERSION;
-const char *mplayer_builddate = BUILDDATE;
+const char *mpv_version = "mpv " VERSION;
+const char *mpv_builddate = BUILDDATE;