dlls/kernel/comm.c build failure

Marcus Meissner marcus at jet.franken.de
Mon Apr 22 09:39:09 CDT 2002


On Mon, Apr 22, 2002 at 08:46:03AM +0200, Gerald Pfeifer wrote:
> The following patch
> 
>   revision 1.56
>   date: 2002/04/21 22:06:09;  author: julliard;  state: Exp;  lines: +24 -0
>   <wine at gc2.kloepfer.org>
>   Faster serial speed cases for non Linux systems.
> 
> broke dlls/kernel/comm.c on FreeBSD 4.5 (and probably all non-Linux
> systems)
> 
>   /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 comm.o comm.c
>   comm.c: In function `SetCommState':
>   comm.c:1063: `CBR_230400' undeclared (first use in this function)
>   comm.c:1063: (Each undeclared identifier is reported only once
>   comm.c:1063: for each function it appears in.)
>   gmake[2]: *** [comm.o] Error 1
>   gmake[2]: Leaving directory `/.amd_mnt/vexpert/files8/test/wine/dlls/kernel'
>   gmake[1]: *** [kernel/kernel32.dll.so] Error 2
> 
> apparently because CBR_230400 is not #defined in include/winbase.h.
> 
> The patch below fixes this, but I suppose it's not what will go in
> finally...

I would suggest just dropping those 2 cases, MSDN does not list them
either.

-  		case CBR_230400:
-  		case CBR_460800:

Ciao, Marcus



More information about the wine-patches mailing list