From 151ffcf6d8c1a527fa3abc27b1a13c0d43be494e Mon Sep 17 00:00:00 2001 From: David Rowley Date: Sat, 4 Nov 2023 15:41:16 +1300 Subject: [PATCH] Try again to fix the MSVC build My last attempt in 39c959ef2 mistakenly conditionally added the missing file based on some unrelated condition. Reported-by: Thomas Munro Discussion: https://postgr.es/m/CA+hUKGLovvAXim9Fytn=jxks9s=JhP5=8Oyy0cbxGG-ggALJtg@mail.gmail.com --- src/tools/msvc/Mkvcbuild.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tools/msvc/Mkvcbuild.pm b/src/tools/msvc/Mkvcbuild.pm index 8fd893153a..84f648c174 100644 --- a/src/tools/msvc/Mkvcbuild.pm +++ b/src/tools/msvc/Mkvcbuild.pm @@ -140,8 +140,8 @@ sub mkvcbuild f2s.c file_perm.c file_utils.c hashfn.c ip.c jsonapi.c keywords.c kwlookup.c link-canary.c md5_common.c percentrepl.c pg_get_line.c pg_lzcompress.c pg_prng.c pgfnames.c psprintf.c relpath.c - rmtree.c saslprep.c scram-common.c string.c stringinfo.c unicode_norm.c - username.c wait_error.c wchar.c); + rmtree.c saslprep.c scram-common.c string.c stringinfo.c + unicode_category.c unicode_norm.c username.c wait_error.c wchar.c); if ($solution->{options}->{openssl}) { @@ -156,7 +156,6 @@ sub mkvcbuild push(@pgcommonallfiles, 'md5.c'); push(@pgcommonallfiles, 'sha1.c'); push(@pgcommonallfiles, 'sha2.c'); - push(@pgcommonallfiles, 'unicode_category.c'); } our @pgcommonfrontendfiles = ( -- 2.39.5