Ensure that xtradb & InnoDB plugin compiles if valgrind is installed but not valgrind debug libraries

This commit is contained in:
Michael Widenius 2010-08-07 19:08:59 +03:00
parent 0d3039d49d
commit f6d226f5f7
2 changed files with 2 additions and 2 deletions

View file

@ -165,7 +165,7 @@ command. Not tested on Windows. */
#define UNIV_COMPILE_TEST_FUNCS
*/
#if defined HAVE_VALGRIND
#if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
# define UNIV_DEBUG_VALGRIND
#endif /* HAVE_VALGRIND */
#if 0

View file

@ -168,7 +168,7 @@ command. Not tested on Windows. */
#define UNIV_COMPILE_TEST_FUNCS
*/
#ifdef HAVE_valgrind
#if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
# define UNIV_DEBUG_VALGRIND
#endif /* HAVE_valgrind */
#if 0