mirror of
https://github.com/MariaDB/server.git
synced 2025-12-09 08:01:34 +03:00
Compile fix needed for AIX,
to work around the lack of a bzero() prototype.
This commit is contained in:
@@ -60,7 +60,9 @@
|
|||||||
# define bfill(A,B,C) memset((A),(C),(B))
|
# define bfill(A,B,C) memset((A),(C),(B))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(bzero) && (!defined(HAVE_BZERO) || !defined(HAVE_DECL_BZERO))
|
#if !defined(bzero) && (!defined(HAVE_BZERO) || !HAVE_DECL_BZERO || defined(_AIX))
|
||||||
|
/* See autoconf doku: "HAVE_DECL_symbol" will be defined after configure, to 0 or 1 */
|
||||||
|
/* AIX has bzero() as a function, but the declaration prototype is strangely hidden */
|
||||||
# define bzero(A,B) memset((A),0,(B))
|
# define bzero(A,B) memset((A),0,(B))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user