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
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2005-10-18 22:39:46 +0400
committerCorinna Vinschen <corinna@vinschen.de>2005-10-18 22:39:46 +0400
commita92822b74764fb7ff83517889cfa6b875c855250 (patch)
tree5114da4d7220ca2c6438fcb77745d977a54294b3
parenta93b4154f1212b54d0658557e914003ea5b06b0e (diff)
* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
-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