mmap.c (MAP_FAILED): Define if not defined.
* mmap.c (MAP_FAILED): Define if not defined. From-SVN: r233196
This commit is contained in:
parent
bc6218b608
commit
09b08e17f5
@ -1,3 +1,7 @@
|
||||
2016-02-06 John David Anglin <danglin@gcc.gnu.org>
|
||||
|
||||
* mmap.c (MAP_FAILED): Define if not defined.
|
||||
|
||||
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
Update copyright years.
|
||||
|
@ -50,6 +50,10 @@ POSSIBILITY OF SUCH DAMAGE. */
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
|
||||
#ifndef MAP_FAILED
|
||||
#define MAP_FAILED ((void *)-1)
|
||||
#endif
|
||||
|
||||
/* A list of free memory blocks. */
|
||||
|
||||
struct backtrace_freelist_struct
|
||||
|
Loading…
Reference in New Issue
Block a user