* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.

This commit is contained in:
Corinna Vinschen 2007-11-08 16:20:12 +00:00
parent 85287b1eb0
commit 815774e87f
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-11-08 Corinna Vinschen
* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
2007-11-07 Dave Brolley <brolley@redhat.com> 2007-11-07 Dave Brolley <brolley@redhat.com>
* libc/machine/configure: Regenerated to pick up mep-elf changes. * libc/machine/configure: Regenerated to pick up mep-elf changes.

View File

@ -443,10 +443,7 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 17 #define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 17
#endif #endif
/* FIXME: This is temporary until winsup gets sorted out. */ #ifndef __CYGWIN__
#ifdef __CYGWIN__
#define MAXPATHLEN (260 - 1 /* NUL */)
#else
# define MAXPATHLEN 1024 # define MAXPATHLEN 1024
#endif #endif