commit | f0b245b0439e600fab782d19e97980e9f2c2533c | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@dtucker.net> | Mon Feb 26 11:43:48 2018 +1100 |
committer | Darren Tucker <dtucker@dtucker.net> | Tue Feb 27 08:51:52 2018 +1100 |
tree | 0ccd950613706c45a34d4c04958d1d395d01d683 | |
parent | c7ef4a399155e1621a532cc5e08e6fa773658dd4 [diff] |
Check if HAVE_DECL_BZERO correctly.
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 2a73ae4..fb81e6c 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h
@@ -133,7 +133,7 @@ long long llabs(long long); #endif -#ifndef HAVE_DECL_BZERO +#if defined(HAVE_DECL_BZERO) && HAVE_DECL_BZERO == 0 void bzero(void *, size_t); #endif