summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/sys/features.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 26c40b8d4..a1350adb5 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-18 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
+
2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index af31ce670..6754f1e9d 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -88,6 +88,7 @@ extern "C" {
# define _POSIX_THREAD_ATTR_STACKSIZE 1
# define _POSIX_SEMAPHORES 1
# define _POSIX_TIMERS 1
+# define _POSIX_MEMLOCK_RANGE 1
#endif
#ifdef __cplusplus