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

Francois Gouget fgouget at free.fr
Fri Sep 29 05:53:54 CDT 2006


gdi/enhmfdrv and gdi/mfdrv don't have tests so remove them from the includes check.
We can always quote the include directories so simplify the code.
---
 tools/winapi/msvcmaker |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/tools/winapi/msvcmaker b/tools/winapi/msvcmaker
index 32cc672..016a8b2 100755
--- a/tools/winapi/msvcmaker
+++ b/tools/winapi/msvcmaker
@@ -631,7 +631,7 @@ sub _generate_dsp($$) {
 	    push @defines2, "__WINETEST_OUTPUT_DIR=\\\"$output_dir2\\\"";
 	    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\"";
 	    }
 	}
 
-- 
1.4.1.1




More information about the wine-patches mailing list