Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-11-08 19:20:12 +0300
committerCorinna Vinschen <corinna@vinschen.de>2007-11-08 19:20:12 +0300
commit815774e87ff1244882093e3b8eb79ad3e386cf2f (patch)
tree8178a49420833edee10fbe67d634a43ab402fac3 /newlib
parent85287b1eb0db4b5479a7a7d334b57c90ab39e998 (diff)
* libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/unistd.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 170958ba9..021e410a3 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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>
* libc/machine/configure: Regenerated to pick up mep-elf changes.
diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h
index cf8298bd8..619652ffc 100644
--- a/newlib/libc/include/sys/unistd.h
+++ b/newlib/libc/include/sys/unistd.h
@@ -443,10 +443,7 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 17
#endif
-/* FIXME: This is temporary until winsup gets sorted out. */
-#ifdef __CYGWIN__
-#define MAXPATHLEN (260 - 1 /* NUL */)
-#else
+#ifndef __CYGWIN__
# define MAXPATHLEN 1024
#endif