Skip to content

Commit

Permalink
Add compatibility with mysql 8.0 with conditional compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Oct 24, 2019
1 parent ebe169e commit 4379ca3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/mysql_prepared_statement.ipp
Expand Up @@ -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"

Expand Down

0 comments on commit 4379ca3

Please sign in to comment.