hack around my_bool
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing

This commit is contained in:
hyung-hwan 2023-12-27 09:22:59 +09:00
parent 4492889ab4
commit d83c3635ec

View File

@ -25,7 +25,12 @@
*/ */
#include "mod-mysql.h" #include "mod-mysql.h"
#include <mysql.h> #include <mysql.h>
#if !defined(MARIADB_VERSION_ID) && defined(MYSQL_VERSION_ID) && (MYSQL_VERSION_ID > 80000)
typedef bool my_bool;
#endif
#include "../lib/hawk-prv.h" #include "../lib/hawk-prv.h"
#if MYSQL_VERSION_ID < 50000 #if MYSQL_VERSION_ID < 50000
@ -34,7 +39,6 @@
struct param_data_t struct param_data_t
{ {
//int is_null;
my_bool is_null; my_bool is_null;
union union
{ {