This is the mail archive of the
mailing list for the GCC project.
Re: PATCH mingw32 Another change to allow mainline to bootstrap.
"Aaron W. LaFramboise" <firstname.lastname@example.org> writes:
> Actually, the getpagesize() this is referring to is in libgcc.
Yes, I know - that doesn't change where the prototype is supposed to
> Adding the prototype to libgcc2.h did not work, because including
> libgcc2.h from ggc.c caused some other compile problems.
> MinGW itself presently does not define have a getpagesize() at all.
> So, would this be acceptable?
> 2004-05-31 Aaron W. LaFramboise <email@example.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.