Bump version to 24.04.3.4
[LibreOffice.git] / external / postgresql / windows.patch.0
blob28fc9046c298fcc0977cb5beb436e1e4942b9da2
1 --- src/port/chklocale.c
2 +++ src/port/chklocale.c
3 @@ -220,7 +220,7 @@
4         {
5                 r = malloc(16);                 /* excess */
6                 if (r != NULL)
7 -                       sprintf(r, "CP%u", loct->locinfo->lc_codepage);
8 +                       sprintf(r, "CP%u", ((struct __crt_locale_data_public *) loct->locinfo)->_locale_lc_codepage);
9                 _free_locale(loct);
10         }
11  #else