summaryrefslogtreecommitdiff
path: root/sockcompat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sockcompat.c')
-rw-r--r--sockcompat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sockcompat.c b/sockcompat.c
index 850e8ed..6c82cce 100644
--- a/sockcompat.c
+++ b/sockcompat.c
@@ -9,7 +9,7 @@
*
*/
-#define REDIS_SOCKCOMPAT_IMPLEMENTATION
+#define REDICT_SOCKCOMPAT_IMPLEMENTATION
#include "sockcompat.h"
#ifdef _WIN32
@@ -242,7 +242,7 @@ int win32_poll(struct pollfd *fds, nfds_t nfds, int timeout) {
return ret != SOCKET_ERROR ? ret : -1;
}
-int win32_redisKeepAlive(SOCKET sockfd, int interval_ms) {
+int win32_redictKeepAlive(SOCKET sockfd, int interval_ms) {
struct tcp_keepalive cfg;
DWORD bytes_in;
int res;