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 mingw32 Another change to allow mainline to bootstrap.


"Aaron W. LaFramboise" <aaronblue6@cox-internet.com> writes:

> Actually, the getpagesize() this is referring to is in libgcc. 

Yes, I know - that doesn't change where the prototype is supposed to
be.

> Adding the prototype to libgcc2.h did not work, because including
> libgcc2.h from ggc.c caused some other compile problems.

Right.

> MinGW itself presently does not define have a getpagesize() at all.
> So, would this be acceptable?
>
> 2004-05-31  Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
>
>     * system.h: Prototype getpagesize on Windows.

Like I said, if you have to do this (which it seems you do) then write
a proper autoconf check for it.

zw


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