MinGW portability fix #2

Hans Leidekker hans at it.vu.nl
Sat Oct 30 09:06:28 CDT 2004


My previous patch used the autoconf macro AC_CHECK_DECL to check for a
getpagesize() declaration but on closer inspection it didn't seem to do
what it's supposed to do. At least not on my installation. This new patch
uses a custom configure check instead.

> The configure check for getpagesize() succeeds on MinGW but
> since MinGW has no function declaration for getpagesize(), many
> files fail to compile. This patch adds a configure check for the
> declaration and uses it to conditionally declare getpagesize().

Changelog:
  Add configure check for getpagesize() declaration, needed by MinGW.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getpagesize_mingw_02.diff
Type: text/x-diff
Size: 2111 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041030/cc720087/getpagesize_mingw_02.bin


More information about the wine-patches mailing list