blob: eda0cd04128736ad11e31d7db5658a1d35b07cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/dbd/apr_dbd_mysql.c
+++ b/dbd/apr_dbd_mysql.c
@@ -41,6 +41,12 @@
#endif
#endif
#include <mysql.h>
+// MariaDB still include definition of my_bool but has a higher version ID
+#ifndef MARIADB_VERSION_ID
+#if MYSQL_VERSION_ID > 80000
+typedef bool my_bool;
+#endif
+#endif
#include <errmsg.h>
#endif
|