summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
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