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