Francois Gouget : msvcmaker: The msvcrt tests need '..' in the include path .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 2 05:40:38 CDT 2006


Module: wine
Branch: master
Commit: 77fd5aa23b0c85906b403f9523bb13d38c247fde
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=77fd5aa23b0c85906b403f9523bb13d38c247fde

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Sep 29 12:53:54 2006 +0200

msvcmaker: The msvcrt tests need '..' in the include path.

---

 tools/winapi/msvcmaker |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 2e247e4..16a01a6 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -631,7 +631,7 @@ sub _generate_dsp($$) {
 	    push @defines2, "__WINETEST_OUTPUT_DIR=\\\"$output_dir\\\"";
 	    push @defines2, qw(__i386__ _X86_);
 
-	    if($project =~ /^gdi32_(?:enhmfdrv|mfdrv)$/) {
+	    if($project eq "msvcrt_test") {
 		push @includes, "..";
 	    }
 
@@ -646,11 +646,7 @@ sub _generate_dsp($$) {
 
 	if($wine) {
 	    foreach my $include (@includes) {
-		if ($include !~ /[\\\"]/) {
-		    print OUT " /I \"$include\"";
-		} else {
-		    print OUT " /I $include";
-		}
+                print OUT " /I \"$include\"";
 	    }
 	}
 




More information about the wine-cvs mailing list