From 80b34ebea4212c232865498c4d4b59ca70befb00 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Dec 2013 17:12:27 +0100 Subject: m_option: don't include config.h in header Requires a small workaround. --- options/m_option.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'options/m_option.c') 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) { -- cgit v1.2.3