> On 28 May 2024, at 22:51, Tom Lane <t...@sss.pgh.pa.us> wrote:
> 
> Pradeep Kumar <spradeepkuma...@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



Reply via email to