diff options
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index a19f382bc..268a1a5f1 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -283,7 +283,7 @@ class path_conv DWORD get_symlink_length () { return symlink_length; }; private: DWORD symlink_length; - char path[CYG_MAX_PATH]; + char path[NT_MAX_PATH]; }; /* Symlink marker */ @@ -310,6 +310,7 @@ const char * __stdcall find_exec (const char *name, path_conv& buf, /* Common macros for checking for invalid path names */ #define isdrive(s) (isalpha (*(s)) && (s)[1] == ':') +#define iswdrive(s) (iswalpha (*(s)) && (s)[1] == L':') static inline bool has_exec_chars (const char *buf, int len) |