diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2000-11-21 23:57:25 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2000-11-21 23:57:25 +0000 |
commit | 5478bf376fb3d280f7eef7da7dfaaea97dd8b353 (patch) | |
tree | 1eca3b228a7c25994ecfc501dbfa917cd2bb344b /newlib/libc/include/sys/unistd.h | |
parent | 6126c12345d31cdd4714b3bb40ba54f13347016d (diff) | |
download | cygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.tar.gz cygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.tar.bz2 cygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.zip |
2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
* libc/include/dirent.h: Added definition of MAXNAMLEN if
not defined by sys/dirent.h.
* libc/posix/execvp.c: Added include of dirent.h to get
MAXNAMLEN value which used to be in unistd.h.
Diffstat (limited to 'newlib/libc/include/sys/unistd.h')
-rw-r--r-- | newlib/libc/include/sys/unistd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 87cf6108e..fa103a91f 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -176,10 +176,6 @@ long _EXFUN(sysconf, (int __name)); # define _PC_PRIO_IO 10 # define _PC_SYNC_IO 11 -# ifndef _POSIX_SOURCE -# define MAXNAMLEN 1024 -# endif /* _POSIX_SOURCE */ - /* FIXME: This is temporary until winsup gets sorted out. */ #ifdef __CYGWIN__ #define MAXPATHLEN (260 - 1 /* NUL */) |