mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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.
This commit is contained in:
@@ -22,5 +22,5 @@
|
||||
#define BUILDDATE "UNKNOWN"
|
||||
#endif
|
||||
|
||||
const char *mplayer_version = "mpv " VERSION;
|
||||
const char *mplayer_builddate = BUILDDATE;
|
||||
const char *mpv_version = "mpv " VERSION;
|
||||
const char *mpv_builddate = BUILDDATE;
|
||||
|
||||
Reference in New Issue
Block a user