summaryrefslogtreecommitdiff
path: root/sockcompat.h
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-23 01:21:46 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-03-23 01:21:46 +0100
commitbb3475e8eb379ee18f3d8f37caa8040b852a6213 (patch)
tree89975f1c23814a7ab5e16f5c7887f55f1888a27a /sockcompat.h
parentaee72918851db8af296e096b759dfb7aaea17968 (diff)
all: rename redis -> redict symbols and commentsmaster
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'sockcompat.h')
-rw-r--r--sockcompat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sockcompat.h b/sockcompat.h
index 281db37..7354f51 100644
--- a/sockcompat.h
+++ b/sockcompat.h
@@ -53,9 +53,9 @@ ssize_t win32_send(SOCKET sockfd, const void *buf, size_t len, int flags);
typedef ULONG nfds_t;
int win32_poll(struct pollfd *fds, nfds_t nfds, int timeout);
-int win32_redisKeepAlive(SOCKET sockfd, int interval_ms);
+int win32_redictKeepAlive(SOCKET sockfd, int interval_ms);
-#ifndef REDIS_SOCKCOMPAT_IMPLEMENTATION
+#ifndef REDICT_SOCKCOMPAT_IMPLEMENTATION
#define getaddrinfo(node, service, hints, res) win32_getaddrinfo(node, service, hints, res)
#undef gai_strerror
#define gai_strerror(errcode) win32_gai_strerror(errcode)
@@ -70,7 +70,7 @@ int win32_redisKeepAlive(SOCKET sockfd, int interval_ms);
#define recv(sockfd, buf, len, flags) win32_recv(sockfd, buf, len, flags)
#define send(sockfd, buf, len, flags) win32_send(sockfd, buf, len, flags)
#define poll(fds, nfds, timeout) win32_poll(fds, nfds, timeout)
-#endif /* REDIS_SOCKCOMPAT_IMPLEMENTATION */
+#endif /* REDICT_SOCKCOMPAT_IMPLEMENTATION */
#endif /* _WIN32 */
#endif /* __SOCKCOMPAT_H */