From e8b6541979f61a771eb637d1c6f35e7d7ae0678f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 23 Oct 2023 15:39:20 +0100 Subject: [PATCH] Expose memset_s on FreeBSD --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 9a49692a..646ce803 100755 --- a/configure +++ b/configure @@ -945,6 +945,7 @@ fi if [ -z "$MEMSET_S" ]; then printf "Testing for memset_s ... " cat <_memset_s.c +#define __STDC_WANT_LIB_EXT1__ 1 #include int main(void) { int a; @@ -961,6 +962,7 @@ EOF rm -f _memset_s.c _memset_s fi if [ "$MEMSET_S" = yes ]; then + echo "#define __STDC_WANT_LIB_EXT1__ 1" >>$CONFIG_H echo "#define HAVE_MEMSET_S" >>$CONFIG_H fi -- 2.47.2