aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql/details/config.h.in
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-15 11:16:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-15 11:16:44 +0200
commitaf2808859e7a98666785752b8069c473dda94a1f (patch)
tree123979c9700e588ad0f3007c19c096646dd73704 /odb/mysql/details/config.h.in
parent5bfec1c98e05b86b719edb37ce1be8778f91d6ec (diff)
Add support for building against libmysqlclient that lacks THR_KEY_mysys
In certain distributions (specifically Fedora 15 and later), maintainers limit the number of visible symbols. If THR_KEY_mysys is hidden, then we try to create the TLS keys in such an order that it results in the correct behavior. And then hope for the best.
Diffstat (limited to 'odb/mysql/details/config.h.in')
-rw-r--r--odb/mysql/details/config.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/mysql/details/config.h.in b/odb/mysql/details/config.h.in
index 8231ed8..6f70c3e 100644
--- a/odb/mysql/details/config.h.in
+++ b/odb/mysql/details/config.h.in
@@ -13,4 +13,6 @@
#undef LIBODB_MYSQL_INCLUDE_SHORT
#undef LIBODB_MYSQL_INCLUDE_LONG
+#undef LIBODB_MYSQL_THR_KEY_VISIBLE
+
#endif /* ODB_MYSQL_DETAILS_CONFIG_H */