Re: Need clarification on compilation errors in PG 16.2 - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Need clarification on compilation errors in PG 16.2
Date
Msg-id F9C043B3-28F8-4C62-B2E4-62367A04C03F@yesql.se
Whole thread Raw
In response to Re: Need clarification on compilation errors in PG 16.2  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Need clarification on compilation errors in PG 16.2
Next
From: Andres Freund
Date:
Subject: Re: meson vs windows perl