Re: Need clarification on compilation errors in PG 16.2

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: Need clarification on compilation errors in PG 16.2
Дата
Msg-id F9C043B3-28F8-4C62-B2E4-62367A04C03F@yesql.se
обсуждение исходный текст
Ответ на Re: Need clarification on compilation errors in PG 16.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 28 May 2024, at 22:51, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Pradeep Kumar <spradeepkumar29@gmail.com> writes:
>> Yes it was defined in "pg_config.h"
>> /* Define to 1 if you have the `memset_s' function. */
>> #define HAVE_MEMSET_S 1
>
> That's correct for recent versions of macOS.  I see you are
> building against a recent SDK:
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/string.h
>
> but I wonder if maybe the actual OS version is back-rev?

Skimming the releases on https://opensource.apple.com/releases/ it seems that
memset_s has been available since Mavericks (10.9) AFAICT.

--
Daniel Gustafsson




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Need clarification on compilation errors in PG 16.2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: meson vs windows perl