wine/dlls/winedos/dosvm.c breaks FreeBSD

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Tue Apr 2 07:55:33 CST 2002


The following patch breaks building on FreeBSD 4.5:

  revision 1.15
  date: 2002/04/01 20:56:15;  author: julliard;  state: Exp;  lines: +15 -4
  Jukka Heinonen <jhei at iki.fi>
  Routine DOSVM_Wait now wakes up if new events are queued and it
  returns if it processed any queued events.

with the following error:

  /usr/bin/gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
  -mpreferred-stack-boundary=2 -fPIC -D__WINE__  -D_REENTRANT
  -I/usr/X11R6/include -o dosvm.o dosvm.c
  dosvm.c: In function `DOSVM_Init':
  dosvm.c:687: `event_notifier' undeclared (first use in this function)
  dosvm.c:687: (Each undeclared identifier is reported only once
  dosvm.c:687: for each function it appears in.)
  gmake: *** [dosvm.o] Error 1

because event_notifier is defined within an #ifdef MZ_SUPPORTED covering
most of this file which is not active on FreeBSD, but -- after this patch
-- referenced in code that *is* active on FreeBSD.

I'd appreciate could you have a look...

Gerald
-- 
Gerald "Jerry" pfeifer at dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the wine-devel mailing list