From 21d8ef8aff5d3b0b79f0e958854910bc88066ec1 Mon Sep 17 00:00:00 2001 From: etxrab Date: Tue, 26 Oct 2010 07:38:22 +0000 Subject: g_int64_hash is first available in Glib 2.22 (This needs a proper fixr) This is just to get the build going again. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34650 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-zbee-nwk.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/dissectors/packet-zbee-nwk.c') diff --git a/epan/dissectors/packet-zbee-nwk.c b/epan/dissectors/packet-zbee-nwk.c index 313cb42484..c51eb4fb52 100644 --- a/epan/dissectors/packet-zbee-nwk.c +++ b/epan/dissectors/packet-zbee-nwk.c @@ -1931,6 +1931,8 @@ proto_init_zbee_nwk(void) /* (Re)create the hash tables. */ zbee_nwk_addr.short_table = g_hash_table_new(ieee802154_short_addr_hash, ieee802154_short_addr_equal); +#if GLIB_CHECK_VERSION(2,22,0) zbee_nwk_addr.long_table = g_hash_table_new(g_int64_hash, g_int64_equal); +#endif zbee_table_nwk_keyring = g_hash_table_new_full(g_int_hash, g_int_equal, NULL, free_keyring_val); } /* proto_init_zbee_nwk */ -- cgit v1.2.3