diff options
author | Christopher Faylor <me@cgf.cx> | 2003-01-09 08:22:57 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-01-09 08:22:57 +0000 |
commit | afbd09c568a622746d250134ed170fd46153dce9 (patch) | |
tree | 329221982b3cf272b6e8443813b6e58c6e38e233 | |
parent | 918939cf19683bfab3a37ee77282b1f864165903 (diff) | |
download | newlib-unlabeled-1.106.8.zip newlib-unlabeled-1.106.8.tar.gz newlib-unlabeled-1.106.8.tar.bz2 |
-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])))) |