diff options
author | Christopher Faylor <me@cgf.cx> | 2000-05-30 13:45:20 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-05-30 13:45:20 +0000 |
commit | ec50441f4a994f6c320de61bacea1cf19412cc52 (patch) | |
tree | 4e89fe5b7894161dd43a9dfdfbba2dce7ed1ea59 | |
parent | 1b13cadb433a2ef3e3057a3f6bd9ee17f0676918 (diff) | |
download | newlib-ec50441f4a994f6c320de61bacea1cf19412cc52.zip newlib-ec50441f4a994f6c320de61bacea1cf19412cc52.tar.gz newlib-ec50441f4a994f6c320de61bacea1cf19412cc52.tar.bz2 |
Needed for previous changes.
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index f2dff1b..76ab208 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -108,3 +108,5 @@ int __stdcall slash_unc_prefix_p (const char *path); set_errno (__err); \ __err; \ }) + +#define isdrive(s) (isalpha (*(s)) && (s)[1] == ':') |