early-access version 2853
This commit is contained in:
15
externals/vcpkg/ports/itpp/fix-uwp.patch
vendored
Executable file
15
externals/vcpkg/ports/itpp/fix-uwp.patch
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
diff --git a/itpp/base/timing.cpp b/itpp/base/timing.cpp
|
||||
index 58178e4..6b173d0 100644
|
||||
--- a/itpp/base/timing.cpp
|
||||
+++ b/itpp/base/timing.cpp
|
||||
@@ -52,6 +52,10 @@
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
#include <windows.h>
|
||||
|
||||
+#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP)
|
||||
+#include <Winsock2.h>
|
||||
+#endif
|
||||
+
|
||||
int gettimeofday(struct timeval* p, void*)
|
||||
{
|
||||
union {
|
Reference in New Issue
Block a user