OSDN Git Service

* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
authorcorinna <corinna>
Tue, 18 Oct 2005 18:39:46 +0000 (18:39 +0000)
committercorinna <corinna>
Tue, 18 Oct 2005 18:39:46 +0000 (18:39 +0000)
newlib/ChangeLog
newlib/libc/include/sys/features.h

index 26c40b8..a1350ad 100644 (file)
@@ -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.
index af31ce6..6754f1e 100644 (file)
@@ -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