------- Comment #4 from sezeroz at gmail dot com 2009-03-19 23:27 ------- Regarding that the former type was int instead of DWORD, my suggest would be replacing DWORD by unsigned int, like:
--- gcc/gcc/libgcc2.c.orig +++ gcc/gcc/libgcc2.c @@ -2068,7 +2068,7 @@ getpagesize (void) int mprotect (char *addr, int len, int prot) { - DWORD np, op; + unsigned int np, op; if (prot == 7) np = 0x40; ... that is, of course, if the headers are really not to blame. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39503