Add compatibility with mysql 8.0 with conditional compilation
This commit is contained in:
parent
ebe169e327
commit
4379ca3446
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue