Re: Meson doesn't define HAVE_LOCALE_T for mscv - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Meson doesn't define HAVE_LOCALE_T for mscv
Date
Msg-id 20221115004926.nvtev5pok6hxjbwx@awork3.anarazel.de
Whole thread Raw
In response to Meson doesn't define HAVE_LOCALE_T for mscv  (Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>)
Responses Re: Meson doesn't define HAVE_LOCALE_T for mscv
List pgsql-hackers
Hi,

On 2022-11-10 10:59:41 +0100, Juan José Santamaría Flecha wrote:
> Meson doesn't see the redefinition of locale_t done
> in src/include/port/win32_port.h, so is not defining
> HAVE_LOCALE_T, HAVE_WCSTOMBS_L nor HAVE_MBSTOWCS_L as the
> current src/tools/msvc/build.pl script does.
> 
> Please find attached a patch for so.

Hm. Is it right that the changes are only done for msvc? win32_port.h defines
the types for mingw as well afaict.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Multitable insert syntax support on Postgres?
Next
From: Jeff Davis
Date:
Subject: Re: Collation version tracking for macOS