Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-01-09 11:22:57 +0300
committerChristopher Faylor <me@cgf.cx>2003-01-09 11:22:57 +0300
commitafbd09c568a622746d250134ed170fd46153dce9 (patch)
tree329221982b3cf272b6e8443813b6e58c6e38e233
parent918939cf19683bfab3a37ee77282b1f864165903 (diff)
-rw-r--r--winsup/cygwin/winsup.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 59988ed2b..0c5a0ac4d 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -105,7 +105,7 @@ extern HANDLE title_mutex;
/**************************** Convenience ******************************/
/* Used when treating / and \ as equivalent. */
-#define SLASH_P(ch) \
+#define isdirsep(ch) \
({ \
char __c = (ch); \
((__c) == '/' || (__c) == '\\'); \
@@ -124,7 +124,6 @@ extern unsigned int signal_shift_subtract;
#undef issep
#define issep(ch) (strchr (" \t\n\r", (ch)) != NULL)
-#define isdirsep SLASH_P
#define isabspath(p) \
(isdirsep (*(p)) || (isalpha (*(p)) && (p)[1] == ':' && (!(p)[2] || isdirsep ((p)[2]))))