Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-05-30 17:45:20 +0400
committerChristopher Faylor <me@cgf.cx>2000-05-30 17:45:20 +0400
commitec50441f4a994f6c320de61bacea1cf19412cc52 (patch)
tree4e89fe5b7894161dd43a9dfdfbba2dce7ed1ea59 /winsup/cygwin/path.h
parent1b13cadb433a2ef3e3057a3f6bd9ee17f0676918 (diff)
Needed for previous changes.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index f2dff1b98..76ab20805 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] == ':')