Commit cbdc5dd4 authored by Michael Widenius's avatar Michael Widenius

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

Ensure that xtradb & InnoDB plugin compiles if valgrind is installed but not valgrind debug libraries
parent 2e46eb77
...@@ -165,7 +165,7 @@ command. Not tested on Windows. */ ...@@ -165,7 +165,7 @@ command. Not tested on Windows. */
#define UNIV_COMPILE_TEST_FUNCS #define UNIV_COMPILE_TEST_FUNCS
*/ */
#if defined HAVE_VALGRIND #if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
# define UNIV_DEBUG_VALGRIND # define UNIV_DEBUG_VALGRIND
#endif /* HAVE_VALGRIND */ #endif /* HAVE_VALGRIND */
#if 0 #if 0
......
...@@ -168,7 +168,7 @@ command. Not tested on Windows. */ ...@@ -168,7 +168,7 @@ command. Not tested on Windows. */
#define UNIV_COMPILE_TEST_FUNCS #define UNIV_COMPILE_TEST_FUNCS
*/ */
#ifdef HAVE_valgrind #if defined(HAVE_valgrind)&& defined(HAVE_VALGRIND_MEMCHECK_H)
# define UNIV_DEBUG_VALGRIND # define UNIV_DEBUG_VALGRIND
#endif /* HAVE_valgrind */ #endif /* HAVE_valgrind */
#if 0 #if 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment