early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/hiredis/fix-timeval.patch
vendored
Executable file
16
externals/vcpkg/ports/hiredis/fix-timeval.patch
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
diff --git a/async_private.h b/async_private.h
|
||||
index d0133ae..7760b60 100644
|
||||
--- a/async_private.h
|
||||
+++ b/async_private.h
|
||||
@@ -32,6 +32,11 @@
|
||||
#ifndef __HIREDIS_ASYNC_PRIVATE_H
|
||||
#define __HIREDIS_ASYNC_PRIVATE_H
|
||||
|
||||
+#ifdef _WIN32
|
||||
+#include <time.h>
|
||||
+#include <windows.h>
|
||||
+#endif
|
||||
+
|
||||
#define _EL_ADD_READ(ctx) \
|
||||
do { \
|
||||
refreshTimeout(ctx); \
|
||||
Reference in New Issue
Block a user