diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-10-26 07:38:22 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-10-26 07:38:22 +0000 |
commit | a3eff92edc45da4da5c15b40af8fbbb82aa4ce2c (patch) | |
tree | 4287683a6fe825ac0533c074154871271b8a5535 /epan/dissectors/packet-zbee-nwk.c | |
parent | 30d27cfb05d1eb0029c16fbb1199b956b0663c19 (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.
svn path=/trunk/; revision=34650
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 */ |