if compile with vs2015, enable the "static inline" declare.
This commit is contained in:
1 parent
b301f4ea01
commit
e9f9f14f22
2 files changed
+9
No files matched your search
@@ -560,10 +560,12 @@ int lh_table_resize(struct lh_table *t, int new_size)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
unsigned long lh_get_hash(const struct lh_table *t, const void *k)
|
||||
{
|
||||
return t->hash_fn(k);
|
||||
}
|
||||
#endif
|
||||
|
||||
void lh_table_free(struct lh_table *t)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user