diff options
Diffstat (limited to 'src/include/gnunet_mysql_lib.h')
-rw-r--r-- | src/include/gnunet_mysql_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_mysql_lib.h b/src/include/gnunet_mysql_lib.h index 843d3ccb3..8da7e5397 100644 --- a/src/include/gnunet_mysql_lib.h +++ b/src/include/gnunet_mysql_lib.h | |||
@@ -41,11 +41,15 @@ extern "C" | |||
41 | #endif | 41 | #endif |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #ifdef HAVE_MYSQL8 | 44 | #ifndef LIBMARIADB |
45 | #ifdef HAVE_MYSQL8 && !LIBMARIADB | ||
45 | typedef bool MYSQL_BOOL; | 46 | typedef bool MYSQL_BOOL; |
46 | #else | 47 | #else |
47 | typedef my_bool MYSQL_BOOL; //MySQL < 8 wants this | 48 | typedef my_bool MYSQL_BOOL; //MySQL < 8 wants this |
48 | #endif | 49 | #endif |
50 | #else | ||
51 | typedef my_bool MYSQL_BOOL; //MariaDB still uses my_bool | ||
52 | #endif | ||
49 | 53 | ||
50 | 54 | ||
51 | /** | 55 | /** |