wineserver: rename process.h to sever_process.h to avoid conflicts on cygwin/msys

Steven Edwards winehacker at
Sat Mar 1 23:18:10 CST 2008

Without this patch you will get a metric butt ton of messages such as

In file included from atom.c:30:
../include/ntstatus.h:36:1: warning: "STATUS_WAIT_0" redefined
In file included from ../include/windef.h:234,
                 from ../include/wine/server_protocol.h:15,
                 from ./object.h:29,
                 from ./process.h:24,
                 from ../include/wine/port.h:45,
                 from atom.c:23:
../include/winnt.h:436:1: warning: this is the location of the
previous definition

Because of the check HAVE_PROCESS_H in wine/port.h

With this patch we are now warning free for wineserver on Linux 64bit
and Cygwin/Windows Server 2008.

Steven Edwards

"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rename-wineserver-process.h-to-server_process.h-to-a.patch
Type: text/x-patch
Size: 24467 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list