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
This commit is contained in:
Anders Broman 2010-10-26 07:38:22 +00:00
parent 30d27cfb05
commit a3eff92edc

View file

@ -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 */