summaryrefslogtreecommitdiff
path: root/plugin/handler_socket/handlersocket/mysql_incl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/handler_socket/handlersocket/mysql_incl.hpp')
-rw-r--r--plugin/handler_socket/handlersocket/mysql_incl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/handler_socket/handlersocket/mysql_incl.hpp b/plugin/handler_socket/handlersocket/mysql_incl.hpp
index ac937e4e74d..0fb4fceb143 100644
--- a/plugin/handler_socket/handlersocket/mysql_incl.hpp
+++ b/plugin/handler_socket/handlersocket/mysql_incl.hpp
@@ -36,6 +36,9 @@
#include <sql_base.h>
// FIXME FIXME FIXME
#define safeFree(X) my_free(X)
+#undef pthread_cond_timedwait
+#undef pthread_mutex_lock
+#undef pthread_mutex_unlock
#define pthread_cond_timedwait mysql_cond_timedwait
#define pthread_mutex_lock mysql_mutex_lock
#define pthread_mutex_unlock mysql_mutex_unlock