summaryrefslogtreecommitdiff
path: root/include/my_context.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-11-05 15:16:37 +0100
committerSergei Golubchik <serg@mariadb.org>2015-11-23 16:02:56 +0100
commit65d69c84cffa42f4766940899972c008616f2942 (patch)
tree5d93e23dadf34befa3085159a8fd2bfd9421a947 /include/my_context.h
parente4b88235b51966855a4973fd551123cb02fac0c9 (diff)
downloadmariadb-git-65d69c84cffa42f4766940899972c008616f2942.tar.gz
cmake: remove unused checks, options, and symbols
Diffstat (limited to 'include/my_context.h')
-rw-r--r--include/my_context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/my_context.h b/include/my_context.h
index 1bf13fd1903..5de9f2882c5 100644
--- a/include/my_context.h
+++ b/include/my_context.h
@@ -62,7 +62,7 @@ struct my_context {
ucontext_t base_context;
ucontext_t spawned_context;
int active;
-#ifdef HAVE_VALGRIND
+#ifdef HAVE_VALGRIND_MEMCHECK_H
unsigned int valgrind_stack_id;
#endif
#ifndef DBUG_OFF
@@ -79,7 +79,7 @@ struct my_context {
uint64_t save[9];
void *stack_top;
void *stack_bot;
-#ifdef HAVE_VALGRIND
+#ifdef HAVE_VALGRIND_MEMCHECK_H
unsigned int valgrind_stack_id;
#endif
#ifndef DBUG_OFF
@@ -96,7 +96,7 @@ struct my_context {
uint64_t save[7];
void *stack_top;
void *stack_bot;
-#ifdef HAVE_VALGRIND
+#ifdef HAVE_VALGRIND_MEMCHECK_H
unsigned int valgrind_stack_id;
#endif
#ifndef DBUG_OFF