dlls/kernel/heap.c breakage

Gerald Pfeifer gerald at pfeifer.com
Fri Aug 13 04:43:52 CDT 2004


Robert,

the following change to dlls/kernel/heap.c broke FreeBSD, both 4.10
and 5.2:

   revision 1.10
   date: 2004/08/13 00:41:34;  author: julliard;  state: Exp;  lines: +115 -88
   Robert Reif <reif at earthlink.net>
   Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other
   way around.

The failure mode is the following:

   /sw/gcc-3.3.2/bin/gcc -c -I. -I. -I../../include -I../../include
   -D__WINESRC__ -D_KERNEL32_ -DETCDIR="\"/tmp/WINE/etc\"" -D_REENTRANT -fPIC
   -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
   -Wpointer-arith  -g -O2 -o heap.o heap.c
   heap.c: In function `GlobalMemoryStatusEx':
   heap.c:1127: error: structure has no member named `ullMemoryLoad'
   heap.c:1133: error: structure has no member named `ullMemoryLoad'
   gmake: *** [heap.o] Error 1

Would you mind fixing this?

Gerald



More information about the wine-devel mailing list