aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 69df33469..1eb67bf2f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -200,6 +200,12 @@
#cmakedefine GLIB_HASH_COMPAT 1
#cmakedefine PARAM_H_HAS_BITSET 1
+#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86))
+/* Use murmur hash for UTHash for these platforms */
+#define HASH_FUNCTION MUR
+#define HASH_USING_NO_STRICT_ALIASING
+#endif
+
#define ETC_PREFIX "${ETC_PREFIX}"
#define LOCALSTATES_PREFIX "${LOCALSTATES_PREFIX}"
#define CMAKE_PREFIX "${CMAKE_INSTALL_PREFIX}"