mirror of https://mirror.osredm.com/root/redis.git
Merge pull request #6923 from hwware/marcofix
add missing marco in sdsalloc.h
This commit is contained in:
commit
d3e8f3fb62
|
@ -36,7 +36,12 @@
|
|||
* the include of your alternate allocator if needed (not needed in order
|
||||
* to use the default libc allocator). */
|
||||
|
||||
#ifndef __SDS_ALLOC_H__
|
||||
#define __SDS_ALLOC_H__
|
||||
|
||||
#include "zmalloc.h"
|
||||
#define s_malloc zmalloc
|
||||
#define s_realloc zrealloc
|
||||
#define s_free zfree
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue