Try again to fix the MSVC build
authorDavid Rowley <[email protected]>
Sat, 4 Nov 2023 02:41:16 +0000 (15:41 +1300)
committerDavid Rowley <[email protected]>
Sat, 4 Nov 2023 02:41:16 +0000 (15:41 +1300)
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

index 8fd893153a604978703dd95f50cde538adf9f192..84f648c174a57af528159e2ccc34f7860cec8b13 100644 (file)
@@ -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 = (