summaryrefslogtreecommitdiff
path: root/conf_post.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf_post.h')
-rw-r--r--conf_post.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/conf_post.h b/conf_post.h
new file mode 100644
index 0000000..a47c536
--- /dev/null
+++ b/conf_post.h
@@ -0,0 +1,10 @@
+/* Define common preprocessor symbol for HAVE_LIBGDBM and HAVE_LIBQDBM, since
+ * libraries gdbm and qdbm have same symbol names. */
+#undef HAVE_COMPAT_LIBGDBM
+#ifdef HAVE_LIBGDBM
+#define HAVE_COMPAT_LIBGDBM
+#endif
+#ifdef HAVE_LIBQDBM
+#define HAVE_COMPAT_LIBGDBM
+#endif
+