mirror of
https://github.com/fluencelabs/redis
synced 2025-03-24 19:40:53 +00:00
Dummy zmalloc.h restored into deps/hiredis.
This commit is contained in:
parent
28f32c99d0
commit
1506c64c8b
13
deps/hiredis/zmalloc.h
vendored
Normal file
13
deps/hiredis/zmalloc.h
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user