diff options
author | dormando <dormando@rydia.net> | 2017-05-21 15:43:52 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-05-21 15:43:52 -0700 |
commit | 2b3312e1bccb3609206da4fc8efd24f7cfd80bdd (patch) | |
tree | dbc3ffde9b8f89684baf1081356c542352392ad5 /cache.h | |
parent | c96fd708b2e262376a97ffdb79209f747fd0bd75 (diff) | |
download | memcached-2b3312e1bccb3609206da4fc8efd24f7cfd80bdd.tar.gz |
fix solaris compilation error
don't normally exercise the UMEM code :( sorry!
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,7 +7,9 @@ #include <umem.h> #define cache_t umem_cache_t #define cache_alloc(a) umem_cache_alloc(a, UMEM_DEFAULT) +#define do_cache_alloc(a) umem_cache_alloc(a, UMEM_DEFAULT) #define cache_free(a, b) umem_cache_free(a, b) +#define do_cache_free(a, b) umem_cache_free(a, b) #define cache_create(a,b,c,d,e) umem_cache_create((char*)a, b, c, d, e, NULL, NULL, NULL, 0) #define cache_destroy(a) umem_cache_destroy(a); |