From 05b637e340d536f7c0d3aba51659bef31d191668 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 18 Oct 2013 08:30:29 +0000 Subject: * 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 for MAXPATHLEN. --- newlib/libc/sys/rtems/sys/param.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'newlib/libc/sys/rtems') 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. */ -- cgit v1.2.3