diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-07-31 19:29:07 +0200 |
commit | 0117a92fedc2e5294682127d54034af5b3f96c8e (patch) | |
tree | 0c075a3fa43f64a3895acc704bacf69a96afda14 /include/m_string.h | |
parent | 42ea25d4c51b5466b4b03a29abe480e763732cf2 (diff) | |
download | mariadb-git-0117a92fedc2e5294682127d54034af5b3f96c8e.tar.gz |
MDEV-419 ensure that all HAVE_XXX constants can be set by cmake
add missing checks to configure.cmake
remove dead code and unused HAVE_xxx constants from the sources
Diffstat (limited to 'include/m_string.h')
-rw-r--r-- | include/m_string.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/m_string.h b/include/m_string.h index 9fc6cda4764..9efa0376942 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -62,13 +62,9 @@ # define bmove_align(A,B,C) memcpy((A),(B),(C)) -#if !defined(HAVE_BCMP) # define bcmp(A,B,C) memcmp((A),(B),(C)) -#endif -#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 */ +#if !defined(bzero) # define bzero(A,B) memset((A),0,(B)) #endif |