diff options
author | June McEnroe <june@causal.agency> | 2020-07-30 13:36:17 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-30 13:36:17 -0400 |
commit | a142ebcf43b7032ad29a383cba9407e7540b2d4a (patch) | |
tree | ae53c39fe1f97b4b5cca890ad828cc6556ab697f /configure | |
parent | Remove use of strlcat (diff) | |
download | catgirl-a142ebcf43b7032ad29a383cba9407e7540b2d4a.tar.gz catgirl-a142ebcf43b7032ad29a383cba9407e7540b2d4a.zip |
Define explicit_bzero using memset_s on macOS
Diffstat (limited to '')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure index b11679d..8282dc7 100755 --- a/configure +++ b/configure @@ -45,6 +45,12 @@ case "$(uname)" in config libcrypto libtls ncursesw defvar OPENSSL_BIN openssl exec_prefix /bin/openssl ;; + (Darwin) + cflags -D__STDC_WANT_LIB_EXT1__=1 + cflags "-D'explicit_bzero(b,l)=memset_s((b),(l),0,(l))'" + config libcrypto libtls ncursesw + defvar OPENSSL_BIN openssl exec_prefix /bin/openssl + ;; (*) config libcrypto libtls ncursesw defvar OPENSSL_BIN openssl exec_prefix /bin/openssl |