aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_mysql_lib.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-12 09:34:59 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-08-12 09:34:59 +0200
commitbe3bbfb4728669698ad7dabb5e0d8648d31a43a8 (patch)
treee41ad616761d5a9bd93159800502bbde9efe674b /src/include/gnunet_mysql_lib.h
parent286759692f1d5c84da625d5c0ced374a2585e978 (diff)
downloadgnunet-be3bbfb4728669698ad7dabb5e0d8648d31a43a8.tar.gz
gnunet-be3bbfb4728669698ad7dabb5e0d8648d31a43a8.zip
-fix my build with new boolean typedef
Diffstat (limited to 'src/include/gnunet_mysql_lib.h')
-rw-r--r--src/include/gnunet_mysql_lib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/gnunet_mysql_lib.h b/src/include/gnunet_mysql_lib.h
index 964483024..843d3ccb3 100644
--- a/src/include/gnunet_mysql_lib.h
+++ b/src/include/gnunet_mysql_lib.h
@@ -41,6 +41,12 @@ extern "C"
41#endif 41#endif
42#endif 42#endif
43 43
44#ifdef HAVE_MYSQL8
45 typedef bool MYSQL_BOOL;
46#else
47 typedef my_bool MYSQL_BOOL; //MySQL < 8 wants this
48#endif
49
44 50
45/** 51/**
46 * Mysql context. 52 * Mysql context.