diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2000-10-05 03:17:01 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2000-10-05 03:17:01 +0400 |
commit | 95436d7cdb96bf7fa798172b5f3c96c0b0eb0a1c (patch) | |
tree | 26bd9508222f1e8b994bcb6c218cf30e64bdacd7 /winsup/cygwin | |
parent | f4f898aca065b74b476af4c11423695fefd1de3c (diff) |
* include/sys/mman.h: Add missing MAP_FAILED macro.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/sys/mman.h | 2 |
2 files changed, 6 insertions, 0 deletions
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 <corinna@vinschen.de> + + * include/sys/mman.h: Add missing MAP_FAILED macro. + Wed Oct 4 18:48:00 2000 Corinna Vinschen <corinna@vinschen.de> * 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. */ |