This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix gdb 7.0 compilation on IRIX 5.3


>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

Rainer> 2009-11-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
Rainer> 	* dwarf2read.c [HAVE_MMAP] (MAP_FAILED): Define if missing.

Rainer> +#ifndef MAP_FAILED
Rainer> +#define MAP_FAILED -1
Rainer> +#endif

I would have expected `(void *) -1' here.  This is ok if it was
warning-free.  Or the other form is also ok.

thanks,
Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]