This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Oct 16 15:23, Sebastian wrote: > Glibc and FreeBSD define MAXPATHLEN in <sys/param.h>. An include of > <unistd.h> only lets MAXPATHLEN undefined on both systems. The change > brings Newlib in line with these systems. This change may break > applications which rely on the previous Newlib approach. The #ifndef > __CYGWIN__ was changed into a #ifndef MAXPATHLEN. Will this work for > Cygwin? > > newlib/ChangeLog > 2013-10-16 Sebastian Huber <...> > > * libc/include/sys/unistd.h (MAXPATHLEN): Delete. > * libc/include/sys/param.h (MAXPATHLEN): Define. > * libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise. > * libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN. Applied. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
pgpNeDGg5YIdS.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |