From ec50441f4a994f6c320de61bacea1cf19412cc52 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Tue, 30 May 2000 13:45:20 +0000 Subject: Needed for previous changes. --- winsup/cygwin/path.h | 2 ++ 1 file changed, 2 insertions(+) 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] == ':') -- cgit v1.1