diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-26 07:38:22 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-26 07:38:22 +0000 |
commit | 21d8ef8aff5d3b0b79f0e958854910bc88066ec1 (patch) | |
tree | 4287683a6fe825ac0533c074154871271b8a5535 /epan/dissectors/packet-zbee-nwk.c | |
parent | 3d5a0ef0e78f7d380fcc646da81ed932cd8eb696 (diff) |
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
Diffstat (limited to 'epan/dissectors/packet-zbee-nwk.c')
-rw-r--r-- | epan/dissectors/packet-zbee-nwk.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |