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
275068c8
Commit
275068c8
authored
Aug 15, 2020
by
michael-grunder
Browse files
Use Hiredis' sdscompat.h to map sds* calls to hi_sds*
parent
6866158f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
275068c8
...
...
@@ -42,6 +42,7 @@
#include <math.h>
#include <pthread.h>
#include <sdscompat.h>
/* Use hiredis' sds compat header that maps sds calls to their hi_ variants */
#include <sds.h>
/* Use hiredis sds. */
#include "ae.h"
#include "hiredis.h"
...
...
src/redis-cli.c
View file @
275068c8
...
...
@@ -52,6 +52,7 @@
#include <openssl/err.h>
#include <hiredis_ssl.h>
#endif
#include <sdscompat.h> /* Use hiredis' sds compat header that maps sds calls to their hi_ variants */
#include <sds.h> /* use sds.h from hiredis, so that only one set of sds functions will be present in the binary */
#include "dict.h"
#include "adlist.h"
...
...
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