This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PATCH libgfortran mmap fixes for MinGW


Paul Brook wrote:

> I changed it to define PROT_* if absent, instead of #ifdefs in the code.
> Applied as below.
> 
> Paul
> 
> 2004-09-15  Aaron W. LaFramboise <aaronavay62@aaronwl.com>
> 
>  * config.h.in: Regenerate.
>  * configure: Regenerate.
>  * configure.ac (AC_CHECK_HEADERS): Check for sys/mman.h.
>  * unix.c: Include stdio.h.
>  (HAVE_SYS_MMAN_H): Check.
>  (PROT_READ, PROT_WRITE): Provide default definitions.

Sorry, I didn't notice at the time, but the <stdio.h> bit got missed.
The STD*_FILENO macros are defined in <stdio.h> in MinGW.

Aaron W. LaFramboise


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