summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-18 17:12:27 +0100
committerwm4 <wm4@nowhere>2013-12-18 17:12:27 +0100
commit80b34ebea4212c232865498c4d4b59ca70befb00 (patch)
treebefaac6611566af51d96b5f2896eafc252254acf /options/m_option.c
parent2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc (diff)
downloadmpv-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.c8
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) {