aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-10-09 11:40:16 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-10-09 11:40:16 +0000
commita8e5f8c6c2d75f184ba5ca0525762e67570233a9 (patch)
tree68ced3e4c68fb38262c32be8156e72d55abd04c0 /winsup/cygwin/include
parent6ddad5e1dd4afd665f89a8bc206e0d0c63a80dbd (diff)
downloadnewlib-a8e5f8c6c2d75f184ba5ca0525762e67570233a9.zip
newlib-a8e5f8c6c2d75f184ba5ca0525762e67570233a9.tar.gz
newlib-a8e5f8c6c2d75f184ba5ca0525762e67570233a9.tar.bz2
* include/sys/mman.h (MAP_FAILED): Define as void *.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/mman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/mman.h b/winsup/cygwin/include/sys/mman.h
index 13393e9..3264739 100644
--- a/winsup/cygwin/include/sys/mman.h
+++ b/winsup/cygwin/include/sys/mman.h
@@ -31,7 +31,7 @@ extern "C" {
#define MAP_ANONYMOUS 0x20
#define MAP_ANON MAP_ANONYMOUS
-#define MAP_FAILED ((caddr_t)-1)
+#define MAP_FAILED ((void *)-1)
/*
* Flags for msync.