Skip to content

Commit 3a7febe

Browse files
authored
Merge pull request #223 from jinzhen-lin/patch-1
fix for mysql 8.0
2 parents 0426a27 + 70116a3 commit 3a7febe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RS-MySQL.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ extern "C" {
2626
#include <mysql.h>
2727
#include <string.h>
2828

29+
#if MYSQL_VERSION_ID >= 80000 && MYSQL_VERSION_ID < 100000
30+
#define my_bool bool
31+
#endif
32+
2933
// Objects =====================================================================
3034

3135
typedef struct RMySQLFields {

0 commit comments

Comments
 (0)