You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
841 B
33 lines
841 B
|
7 years ago
|
Index: rmutil/util.c
|
||
|
|
--- rmutil/util.c.orig 2019-04-21 11:46:39.000000000 +0200
|
||
|
|
+++ rmutil/util.c 2019-04-21 12:53:28.266257000 +0200
|
||
|
|
@@ -6,6 +6,7 @@
|
||
|
|
#include <stdarg.h>
|
||
|
|
#include <limits.h>
|
||
|
|
#include <string.h>
|
||
|
|
+#include <strings.h>
|
||
|
|
#include <redismodule.h>
|
||
|
|
#include "util.h"
|
||
|
|
|
||
|
|
@@ -220,4 +221,4 @@
|
||
|
|
} while ((ele != NULL) && (*e != '\0'));
|
||
|
|
|
||
|
|
return ele;
|
||
|
|
-}
|
||
|
|
\ No newline at end of file
|
||
|
|
+}
|
||
|
|
Index: zstd_vals/Makefile
|
||
|
|
--- zstd_vals/Makefile.orig 2019-04-21 11:46:39.000000000 +0200
|
||
|
|
+++ zstd_vals/Makefile 2019-04-21 12:53:57.123509000 +0200
|
||
|
|
@@ -4,8 +4,8 @@
|
||
|
|
ZSTD_LIBDIR=../zstd/lib
|
||
|
|
|
||
|
|
# Compile flags for linux
|
||
|
|
-SHOBJ_CFLAGS ?= -fno-common -g -ggdb
|
||
|
|
-SHOBJ_LDFLAGS ?= -shared -Bsymbolic
|
||
|
|
+SHOBJ_CFLAGS ?=
|
||
|
|
+SHOBJ_LDFLAGS ?= -shared
|
||
|
|
CFLAGS = -I$(RM_INCLUDE_DIR) -I$(ZSTD_INCLUDE_DIR) -Wall -g -fPIC -lc -lm -O2 -std=c++11
|
||
|
|
CC=g++
|
||
|
|
LD=g++
|