#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
-#ifndef SDCC
+#if !defined(SDCC) && !defined(__SDCC)
#include <sys/time.h>
#endif
UL_HASTAB_CUST_NODE_INT_IMP(cust3, cust3_table_t, cust3_item_t, cust3_key_t,
my_table, my_node, my_val, cust3_cmp_fnc, cust3_hash_fnc,
- cust3_hash_get_fnc, cust_hash_prep_fnc, 0, 0)
+ cust3_hash_get_fnc, cust_hash_prep_fnc, ul_hashtab_sizestep_global)
cust3_table_t cust3_table;
}
if(argc>=3) {
tablepow=atol(argv[2]);
+ ul_hashtab_sizestep_global=ul_hashtab_sizestep_null;
}
cust3_resize_table(table, 1<<tablepow);
free(item_arr);
return 0;
-}
\ No newline at end of file
+}