pike.git / src / post_modules / CritBit / tree_low.c

version» Context lines:

pike.git/src/post_modules/CritBit/tree_low.c:1:   #include <stdlib.h>   #include <stdint.h>   #include <sys/types.h>    - #ifndef CB_NODE_ALLOC - # define CB_NODE_ALLOC() ((cb_node_t)malloc(sizeof(cb_node))) - #endif - #ifndef CB_NODE_FREE - # define CB_NODE_FREE(p) free(p) - #endif -  +    #ifndef HAS___BUILTIN_EXPECT   # define __builtin_expect(x, expected_value) (x)   #endif      #define likely(x) __builtin_expect((x), 1)   #define unlikely(x) __builtin_expect((x), 0)      #ifndef cb_check_node   # define cb_check_node(node) do {} while(0)   #endif