diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-10-18 08:30:29 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-10-18 08:30:29 +0000 |
commit | 05b637e340d536f7c0d3aba51659bef31d191668 (patch) | |
tree | 676a895aa69a4d72acdce63ac21729f43bc992ba /newlib/libc/sys/rtems | |
parent | 9240d3c82430948615ded9c8d2731ad4f1eaedf2 (diff) | |
download | cygnal-05b637e340d536f7c0d3aba51659bef31d191668.tar.gz cygnal-05b637e340d536f7c0d3aba51659bef31d191668.tar.bz2 cygnal-05b637e340d536f7c0d3aba51659bef31d191668.zip |
* 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.
Diffstat (limited to 'newlib/libc/sys/rtems')
-rw-r--r-- | newlib/libc/sys/rtems/sys/param.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/sys/rtems/sys/param.h b/newlib/libc/sys/rtems/sys/param.h index eac24e91c..808745f85 100644 --- a/newlib/libc/sys/rtems/sys/param.h +++ b/newlib/libc/sys/rtems/sys/param.h @@ -156,9 +156,7 @@ * It should be set high enough to allow all legitimate uses, but halt * infinite loops reasonably quickly. */ -#if !defined(__rtems__) #define MAXPATHLEN PATH_MAX -#endif #define MAXSYMLINKS 32 /* Bit map related macros. */ |