about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-02-19 10:26:52 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-02-19 10:26:52 +0000
commitcd02c345afdedd31b767530dfb826b56c61ac6d7 (patch)
tree2021aed216adfc9cd18e9e3ae3740edb192b5a44 /Src/system.h
parent441648bf5d1fed6a087affc6dd80c4d604704173 (diff)
downloadzsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.tar.gz
zsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.tar.xz
zsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.zip
13280: NewImproved handling of colon modifiers w.r.t. paths
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index 4ba9bf8ab..50661e0fd 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -657,3 +657,9 @@ extern short ospeed;
 #ifndef MAILDIR_SUPPORT
 #define mailstat(X,Y) stat(X,Y)
 #endif
+
+#ifdef __CYGWIN__
+# define IS_DIRSEP(c) ((c) == '/' || (c) == '\\')
+#else
+# define IS_DIRSEP(c) ((c) == '/')
+#endif