2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
This commit is contained in:
parent
53d72f980c
commit
85d9bd0e05
|
@ -1,3 +1,7 @@
|
|||
2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.
|
||||
|
||||
2009-11-23 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.
|
||||
|
|
|
@ -58,6 +58,9 @@
|
|||
#endif
|
||||
#ifdef HAVE_MMAP
|
||||
#include <sys/mman.h>
|
||||
#ifndef MAP_FAILED
|
||||
#define MAP_FAILED ((void *) -1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
|
|
Loading…
Reference in New Issue