mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
We need to take a different solution because MariaDB Connector C is still defining my_bool. Closes: https://bugs.gentoo.org/734020 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
16 lines
311 B
Diff
16 lines
311 B
Diff
--- 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
|
|
|