Skip to content

Commit

Permalink
fix solaris compilation error
Browse files Browse the repository at this point in the history
don't normally exercise the UMEM code :( sorry!
  • Loading branch information
dormando committed May 21, 2017
1 parent c96fd70 commit 2b3312e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2b3312e

Please sign in to comment.