tdf#148470 if macOS glyph fallback provided a partial result flag what failed
[LibreOffice.git] / external / postgresql / windows.patch.0
blobdbac548d465961911724f991876bf5189ee8994b
1 --- src/port/chklocale.c
2 +++ src/port/chklocale.c
3 @@ -211,7 +211,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