summaryrefslogtreecommitdiff
path: root/mysys/my_wincond.c
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2009-03-22 14:16:09 +0200
committerMichael Widenius <monty@askmonty.org>2009-03-22 14:16:09 +0200
commit46db8aac44737fc9b8b07283140c6d0add4d1789 (patch)
treeba0081fdba288f6a0a7e37d4cca041bc92cbdfdf /mysys/my_wincond.c
parent806ec1b06206bb4f1ee41087b09c475be67d449d (diff)
downloadmariadb-git-46db8aac44737fc9b8b07283140c6d0add4d1789.tar.gz
Apply patch by Antony Dovgal:
- Move SAFE_MUTEX to be stored in config.h by configure.in (not as a flag used with compiler command line) - Generate my_config.h in configure BUILD/SETUP.sh: Remove -DSAFE_MUTEX as the following --with-debug flag will automaticly add it BUILD/compile-ia64-debug-max: Remove -DSAFE_MUTEX as the following --with-debug flag will automaticly add it configure.in: Move SAFE_MUTEX and SAFE_MALLOC to [my_] config.h Generate my_config.h as part of configure process dbug/dbug.c: Include my_global.h before we undef SAFE_MUTEX include/Makefile.am: Update comment. For now, lets generate my_config.h if someone deletes it after configure mysys/my_wincond.c: Include my_global.h before we undef SAFE_MUTEX mysys/my_winthread.c: Include my_global.h before we undef SAFE_MUTEX
Diffstat (limited to 'mysys/my_wincond.c')
-rw-r--r--mysys/my_wincond.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/my_wincond.c b/mysys/my_wincond.c
index c9bc33df8c4..8b548a64079 100644
--- a/mysys/my_wincond.c
+++ b/mysys/my_wincond.c
@@ -17,6 +17,7 @@
** The following is a simple implementation of posix conditions
*****************************************************************************/
+#include <my_global.h>
#undef SAFE_MUTEX /* Avoid safe_mutex redefinitions */
#include "mysys_priv.h"
#if defined(THREAD) && defined(__WIN__)