Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
6ef01878
Commit
6ef01878
authored
Feb 22, 2020
by
hwware
Committed by
antirez
Mar 05, 2020
Browse files
add missing file marco
parent
fe81d5c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sdsalloc.h
View file @
6ef01878
...
@@ -36,7 +36,12 @@
...
@@ -36,7 +36,12 @@
* the include of your alternate allocator if needed (not needed in order
* the include of your alternate allocator if needed (not needed in order
* to use the default libc allocator). */
* to use the default libc allocator). */
#ifndef __SDS_ALLOC_H__
#define __SDS_ALLOC_H__
#include "zmalloc.h"
#include "zmalloc.h"
#define s_malloc zmalloc
#define s_malloc zmalloc
#define s_realloc zrealloc
#define s_realloc zrealloc
#define s_free zfree
#define s_free zfree
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment