We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e5d999 + 03cdce7 commit 6e7a519Copy full SHA for 6e7a519
1 file changed
include/m_string.h
@@ -60,7 +60,9 @@
60
# define bfill(A,B,C) memset((A),(C),(B))
61
#endif
62
63
-#if !defined(bzero) && !defined(HAVE_BZERO)
+#if !defined(bzero) && (!defined(HAVE_BZERO) || !HAVE_DECL_BZERO || defined(_AIX))
64
+/* See autoconf doku: "HAVE_DECL_symbol" will be defined after configure, to 0 or 1 */
65
+/* AIX has bzero() as a function, but the declaration prototype is strangely hidden */
66
# define bzero(A,B) memset((A),0,(B))
67
68
0 commit comments