Merge pull request #6923 from hwware/marcofix

add missing marco in sdsalloc.h
This commit is contained in:
Salvatore Sanfilippo 2020-03-02 17:07:41 +01:00 committed by GitHub
commit d3e8f3fb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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