diff options
Diffstat (limited to 'lib/gl_anytreehash_list1.h')
-rw-r--r-- | lib/gl_anytreehash_list1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gl_anytreehash_list1.h b/lib/gl_anytreehash_list1.h index 11578ed6b1..cf44b59688 100644 --- a/lib/gl_anytreehash_list1.h +++ b/lib/gl_anytreehash_list1.h @@ -185,10 +185,8 @@ add_to_bucket (gl_list_t list, gl_list_node_t new_node) return 0; } /* Tell GCC that the likely return value is 0. */ -#if __GNUC__ >= 3 -# define add_to_bucket(list,node) \ +#define add_to_bucket(list,node) \ __builtin_expect ((add_to_bucket) (list, node), 0) -#endif /* Remove a node from the hash table structure. If duplicates are allowed, this function performs in average time |