From a92822b74764fb7ff83517889cfa6b875c855250 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 18 Oct 2005 18:39:46 +0000 Subject: [PATCH] * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin. --- newlib/ChangeLog | 4 ++++ newlib/libc/include/sys/features.h | 1 + 2 files changed, 5 insertions(+) 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 + + * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin. + 2005-10-14 Jeff Johnston * 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