wpp: Fix includes paths parsing on Windows platforms. (resend)

Hermès BÉLUSCA - MAÏTO hermes.belusca at sfr.fr
Wed Dec 26 17:40:23 CST 2012

This is a patch for Wpp, which fixes includes paths parsing on Windows platforms. Indeed when compiling wpp and widl on Windows (used on the ReactOS project), the '_Windows' define is not declared and instead, the defines '_WINDOWS' or 'WIN32' are instead declared. When compiling on Windows, we now use the right include separator ';' instead of ':' (which is a valid path character in the Windows world, as the separator between the drive letter and the rest of the path).

Tested (compiled) on Windows Server 2003 and ReactOS with GCC 4.7.2.

Hermes Belusca-Maito   


 libs/wpp/preproc.c      7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121227/dd19bda5/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpp_patch.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121227/dd19bda5/attachment.txt>

More information about the wine-patches mailing list