diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/winsup.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 59988ed..0c5a0ac 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])))) |