mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 21:50:32 -04:00
While here, introduce HAVE_TYPE_MY_BOOL variable alongside with typedef char my_bool; This unbreak devel/apr1 build with mysql integration enabled whule dafault is set to percona Release notes: https://docs.percona.com/percona-server/5.7/release-notes/5.7.41-44.html
13 lines
289 B
C
13 lines
289 B
C
--- include/mysql.h.orig 2023-02-28 17:21:35 UTC
|
|
+++ include/mysql.h
|
|
@@ -46,7 +46,10 @@ extern "C" {
|
|
#ifndef MYSQL_ABI_CHECK
|
|
#include <sys/types.h>
|
|
#endif
|
|
+#ifndef HAVE_TYPE_MY_BOOL
|
|
+#define HAVE_TYPE_MY_BOOL
|
|
typedef char my_bool;
|
|
+#endif
|
|
#if !defined(_WIN32)
|
|
#define STDCALL
|
|
#else
|