diff options
author | wm4 <wm4@nowhere> | 2013-12-18 17:12:27 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-18 17:12:27 +0100 |
commit | 80b34ebea4212c232865498c4d4b59ca70befb00 (patch) | |
tree | befaac6611566af51d96b5f2896eafc252254acf /options/m_option.c | |
parent | 2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc (diff) | |
download | mpv-80b34ebea4212c232865498c4d4b59ca70befb00.tar.bz2 mpv-80b34ebea4212c232865498c4d4b59ca70befb00.tar.xz |
m_option: don't include config.h in header
Requires a small workaround.
Diffstat (limited to 'options/m_option.c')
-rw-r--r-- | options/m_option.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/options/m_option.c b/options/m_option.c index d93c18ee52..ba020f5375 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -41,6 +41,14 @@ #include "m_option.h" #include "m_config.h" +#if HAVE_DOS_PATHS +#define OPTION_PATH_SEPARATOR ';' +#else +#define OPTION_PATH_SEPARATOR ':' +#endif + +const char m_option_path_separator = OPTION_PATH_SEPARATOR; + char *m_option_strerror(int code) { switch (code) { |