From 52e2c12288cdcdcaa46a18937cc051d3322bbc99 Mon Sep 17 00:00:00 2001
From: Andrew Dunstan <andrew@dunslane.net>
Date: Fri, 12 Nov 2010 22:55:15 -0500
Subject: [PATCH] Attempt to fix MSVC builds broken by parallel make changes.

---
 src/tools/msvc/Mkvcbuild.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm
index d6ec5a544d1..bb1aed7b7cc 100644
--- a/src/tools/msvc/Mkvcbuild.pm
+++ b/src/tools/msvc/Mkvcbuild.pm
@@ -431,7 +431,7 @@ sub mkvcbuild
             { # Also catches mbprint.c
                 $proj->AddFile('src\bin\psql\\' . $f);
             }
-            else
+            elsif ($f =~ /\.c$/)
             {
                 $proj->AddFile('src\bin\scripts\\' . $f);
             }
-- 
GitLab