Re: Meson doesn't define HAVE_LOCALE_T for mscv

From: Andres Freund <andres(at)anarazel(dot)de>
To: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Meson doesn't define HAVE_LOCALE_T for mscv
Date: 2022-11-15 00:49:26
Message-ID: 20221115004926.nvtev5pok6hxjbwx@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2022-11-15 00:55:25 Re: Collation version tracking for macOS
Previous Message Andres Freund 2022-11-15 00:34:10 Re: Multitable insert syntax support on Postgres?