Dummy zmalloc.h restored into deps/hiredis.

This commit is contained in:
antirez 2014-06-23 11:43:37 +02:00
parent b95332a6a6
commit ba472111d3

13
deps/hiredis/zmalloc.h vendored Normal file
View File

@ -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