mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 19:37:50 +00:00
Add compatibility with mysql 8.0 with conditional compilation
This commit is contained in:
parent
ebe169e327
commit
4379ca3446
@ -25,6 +25,9 @@
|
||||
#include <boost/scope_exit.hpp>
|
||||
|
||||
#include <mysql/mysql.h>
|
||||
#if defined(MYSQL_VERSION_ID) && MYSQL_VERSION_ID >= 80000
|
||||
#define my_bool bool
|
||||
#endif
|
||||
|
||||
#include "exceptions.hpp"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user