From afbd09c568a622746d250134ed170fd46153dce9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 9 Jan 2003 08:22:57 +0000 Subject: . --- winsup/cygwin/winsup.h | 3 +-- 1 file changed, 1 insertion(+), 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])))) -- cgit v1.1