From 269ab56f8b4056ec63e712ba305761dd835ea10e Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 6 Mar 2017 22:42:00 +0100 Subject: small plugin API related fixes * define MYSQL_DYNAMIC_PLUGIN only for server plugins * don't typedef my_bool in mysql.h if plugin.h has already done it * fix the include guard in plugin.h --- include/mysql.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mysql.h') diff --git a/include/mysql.h b/include/mysql.h index f088ad668a1..53c86aee889 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -48,7 +48,11 @@ extern "C" { #ifndef MYSQL_ABI_CHECK #include #endif + +#ifndef MYSQL_PLUGIN_INCLUDED typedef char my_bool; +#endif + #if (defined(_WIN32) || defined(_WIN64)) && !defined(__WIN__) #define __WIN__ #endif -- cgit v1.2.1