From 0117a92fedc2e5294682127d54034af5b3f96c8e Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Tue, 31 Jul 2012 19:29:07 +0200 Subject: 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 --- include/m_string.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/m_string.h') 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 -- cgit v1.2.1