This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add _POSIX_MEMLOCK_RANGE for Cygwin


Hi,

FYI, I've applied the below patch to newlib.  It adds a define
for _POSIX_MEMLOCK_RANGE for Cygwin.


Corinna


	* libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.

Index: libc/include/sys/features.h
===================================================================
RCS file: /cvs/src/src/newlib/libc/include/sys/features.h,v
retrieving revision 1.6
diff -u -p -r1.6 features.h
--- libc/include/sys/features.h	9 Feb 2004 02:22:01 -0000	1.6
+++ libc/include/sys/features.h	18 Oct 2005 18:38:55 -0000
@@ -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

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]