diff options
author | Joerg Bruehe <joerg.bruehe@oracle.com> | 2012-02-16 15:55:53 +0100 |
---|---|---|
committer | Joerg Bruehe <joerg.bruehe@oracle.com> | 2012-02-16 15:55:53 +0100 |
commit | d18a6702aa49c694473eddd77780e334d21c06ca (patch) | |
tree | 922164f3d7aaa81b9121e4b45f02192f52b416f5 /include | |
parent | cc2c1b3a25f1268361996090695e3334ed9c58fc (diff) | |
parent | 316a60af6db522a71879960f4f5fbdd215a8d262 (diff) | |
download | mariadb-git-d18a6702aa49c694473eddd77780e334d21c06ca.tar.gz |
Merge compile fix for AIX into delivery tree.
Diffstat (limited to 'include')
-rw-r--r-- | include/m_string.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/m_string.h b/include/m_string.h index e1cf7651519..dc916792f60 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -60,7 +60,9 @@ # define bfill(A,B,C) memset((A),(C),(B)) #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)) #endif |