summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'function.c')
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 0acfd7e..f6f482a 100644
--- a/function.c
+++ b/function.c
@@ -472,7 +472,7 @@ func_origin(o, argv, funcname)
#ifdef VMS
#define IS_PATHSEP(c) ((c) == ']')
#else
-#ifdef __MSDOS__
+#if defined(__MSDOS__) || defined(WINDOWS32)
#define IS_PATHSEP(c) ((c) == '/' || (c) == '\\')
#else
#define IS_PATHSEP(c) ((c) == '/')