summaryrefslogtreecommitdiffstats
path: root/options/m_option.c
diff options
context:
space:
mode:
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) {