From 1506c64c8b8b4a964f331f502a5d0006dd3077f0 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 23 Jun 2014 11:43:37 +0200 Subject: Dummy zmalloc.h restored into deps/hiredis. --- deps/hiredis/zmalloc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 deps/hiredis/zmalloc.h (limited to 'deps/hiredis') diff --git a/deps/hiredis/zmalloc.h b/deps/hiredis/zmalloc.h new file mode 100644 index 000000000..99b87ace9 --- /dev/null +++ b/deps/hiredis/zmalloc.h @@ -0,0 +1,13 @@ +/* Drop in replacement for zmalloc.h in order to just use libc malloc without + * any wrappering. */ + +#ifndef ZMALLOC_H +#define ZMALLOC_H + +#define zmalloc malloc +#define zrealloc realloc +#define zcalloc(x) calloc(x,1) +#define zfree free +#define zstrdup strdup + +#endif -- cgit v1.2.1