summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygheap.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/cygheap.h')
-rw-r--r--winsup/cygwin/cygheap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/cygheap.h b/winsup/cygwin/cygheap.h
index fc46118a1..8b84e64f2 100644
--- a/winsup/cygwin/cygheap.h
+++ b/winsup/cygwin/cygheap.h
@@ -42,9 +42,9 @@ struct _cmalloc_entry
struct cygheap_root_mount_info
{
- char posix_path[MAX_PATH];
+ char posix_path[CYG_MAX_PATH];
unsigned posix_pathlen;
- char native_path[MAX_PATH];
+ char native_path[CYG_MAX_PATH];
unsigned native_pathlen;
};
@@ -215,7 +215,7 @@ struct cwdstuff
char *win32;
DWORD hash;
muto *cwd_lock;
- char *get (char *buf, int need_posix = 1, int with_chroot = 0, unsigned ulen = MAX_PATH);
+ char *get (char *buf, int need_posix = 1, int with_chroot = 0, unsigned ulen = CYG_MAX_PATH);
DWORD get_hash ();
void init ();
void fixup_after_exec (char *win32, char *posix, DWORD hash);