meson: Define HAVE_LOCALE_T for msvc
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 11 Nov 2022 15:00:48 +0000 (16:00 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 11 Nov 2022 15:01:16 +0000 (16:01 +0100)
commit373679c4a82f04e6c16198cdffab1a6c56852956
treef8297e31eca7c024207e54768d6959c19b4c6880
parentb9424d014e195386a83b0f1fe9f5a8e5727e46ea
meson: Define HAVE_LOCALE_T for msvc

Meson doesn't see the redefinition of locale_t done in
src/include/port/win32_port.h, so it is not defining HAVE_LOCALE_T,
HAVE_WCSTOMBS_L nor HAVE_MBSTOWCS_L as the current
src/tools/msvc/build.pl script does.  Add manual overrides to fix.

Author: Author: Juan Jose Santamaria Flecha <juanjo.santamaria@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAC%2BAXB1wJEqfKCuVcNpoH%3Dgxd61N%3D7c2fR3Ew6YRPpSfEUA%3DyQ%40mail.gmail.com
meson.build