From 95436d7cdb96bf7fa798172b5f3c96c0b0eb0a1c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 4 Oct 2000 23:17:01 +0000 Subject: [PATCH] * include/sys/mman.h: Add missing MAP_FAILED macro. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/sys/mman.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 815d637a3..ebca081f8 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 5 1:13:00 2000 Corinna Vinschen + + * include/sys/mman.h: Add missing MAP_FAILED macro. + Wed Oct 4 18:48:00 2000 Corinna Vinschen * fhandler.h (fhandler_dev_mem): Add method `init'. Add members diff --git a/winsup/cygwin/include/sys/mman.h b/winsup/cygwin/include/sys/mman.h index 9f36bc323..244dcdb39 100644 --- a/winsup/cygwin/include/sys/mman.h +++ b/winsup/cygwin/include/sys/mman.h @@ -21,6 +21,8 @@ extern "C" { #define MAP_ANONYMOUS 0x20 #define MAP_ANON MAP_ANONYMOUS +#define MAP_FAILED ((caddr_t)-1) + /* * Flags for msync. */