wpp: Fix includes paths parsing on Windows platforms.

Hermès BÉLUSCA - MAÏTO hermes.belusca at sfr.fr
Wed Dec 26 17:29:29 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.



Regards,
Hermes Belusca-Maito
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpp_patch.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20121227/49b6954c/attachment.txt>


More information about the wine-patches mailing list