aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-11 17:35:34 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-11 17:35:34 +0100
commitb73a7c5da48e09bd39c1d7c1dabec269dbacd1c8 (patch)
treefe73bc791a59620a4909feac9d819e8a59a1d960
parent8649948a4d1b4fbb52b2f55fe519dab36d4731ea (diff)
downloadgnunet-b73a7c5da48e09bd39c1d7c1dabec269dbacd1c8.tar.gz
gnunet-b73a7c5da48e09bd39c1d7c1dabec269dbacd1c8.zip
Mysql: version check was wrong
-rw-r--r--src/include/gnunet_mysql_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_mysql_compat.h b/src/include/gnunet_mysql_compat.h
index cfbd969a0..9fb9db30f 100644
--- a/src/include/gnunet_mysql_compat.h
+++ b/src/include/gnunet_mysql_compat.h
@@ -42,7 +42,7 @@ extern "C"
42#endif 42#endif
43 43
44#ifndef LIBMARIADB 44#ifndef LIBMARIADB
45#if MYSQL_VERSION_ID < 80000 45#if MYSQL_VERSION_ID >= 80000
46#define MYSQL_BOOL bool 46#define MYSQL_BOOL bool
47#else 47#else
48#define MYSQL_BOOL my_bool /* MySQL < 8 wants this */ 48#define MYSQL_BOOL my_bool /* MySQL < 8 wants this */