diff options
author | antirez <antirez@gmail.com> | 2014-06-23 11:43:37 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-06-23 11:44:34 +0200 |
commit | 1506c64c8b8b4a964f331f502a5d0006dd3077f0 (patch) | |
tree | 552bbe76b56fd12247d302f58cf39800a84fd87b /deps/hiredis | |
parent | 28f32c99d0118eb60b236a0c8a96ea4bd9b7fa5b (diff) | |
download | redis-1506c64c8b8b4a964f331f502a5d0006dd3077f0.tar.gz |
Dummy zmalloc.h restored into deps/hiredis.
Diffstat (limited to 'deps/hiredis')
-rw-r--r-- | deps/hiredis/zmalloc.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 |