Re: Need clarification on compilation errors in PG 16.2

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pradeep Kumar <spradeepkumar29(at)gmail(dot)com>, Long Song <songlong88(at)126(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Need clarification on compilation errors in PG 16.2
Date: 2024-05-28 21:10:05
Message-ID: F9C043B3-28F8-4C62-B2E4-62367A04C03F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 28 May 2024, at 22:51, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Pradeep Kumar <spradeepkumar29(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2024-05-28 22:13:50 Re: meson vs windows perl
Previous Message Tom Lane 2024-05-28 20:51:17 Re: Need clarification on compilation errors in PG 16.2