Skip to content

Commit d6333fc

Browse files
authored
meson: use explicit_bzero if it is available (#376)
AC_CHECK_FUNCS([explicit_bzero]) was not ported during the switch from autotools to meson. Fixes: ea1cb44 Related: 9f675b8
1 parent ea4ee81 commit d6333fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ endif
4545

4646
cdata.set('HAVE_STRNDUP', cc.has_function('strndup'))
4747
cdata.set('HAVE_MKDIRP', cc.has_function('mkdirp'))
48+
cdata.set('HAVE_EXPLICIT_BZERO', cc.has_function('explicit_bzero'))
4849

4950
# Instead of generating config.h directly, make vcs_tag generate it so that
5051
# @VCS_TAG@ is replaced.

0 commit comments

Comments
 (0)