* include/sys/mman.h (MAP_FAILED): Define as void *.
This commit is contained in:
parent
6ddad5e1dd
commit
a8e5f8c6c2
|
@ -1,3 +1,7 @@
|
||||||
|
2003-10-09 Yitzchak Scott-Thoennes <sthoenna@efn.org>
|
||||||
|
|
||||||
|
* include/sys/mman.h (MAP_FAILED): Define as void *.
|
||||||
|
|
||||||
2003-10-08 Christopher Faylor <cgf@redhat.com>
|
2003-10-08 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
|
* dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
|
||||||
|
|
|
@ -31,7 +31,7 @@ extern "C" {
|
||||||
#define MAP_ANONYMOUS 0x20
|
#define MAP_ANONYMOUS 0x20
|
||||||
#define MAP_ANON MAP_ANONYMOUS
|
#define MAP_ANON MAP_ANONYMOUS
|
||||||
|
|
||||||
#define MAP_FAILED ((caddr_t)-1)
|
#define MAP_FAILED ((void *)-1)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Flags for msync.
|
* Flags for msync.
|
||||||
|
|
Loading…
Reference in New Issue