From 77c7de8bb1a33c4fded5f70099271dafd7a23330 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 20 Aug 2020 10:19:23 -0500 Subject: disable some additional libtls-standalone bits --- patches/tls.h.patch | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'patches') diff --git a/patches/tls.h.patch b/patches/tls.h.patch index 3d72749..180101d 100644 --- a/patches/tls.h.patch +++ b/patches/tls.h.patch @@ -3,7 +3,7 @@ @@ -22,6 +22,13 @@ extern "C" { #endif - + +#ifdef _MSC_VER +#ifndef LIBRESSL_INTERNAL +#include @@ -12,21 +12,5 @@ +#endif + #include - - #include ---- libtls-standalone/include/tls.h.orig 2017-02-13 20:21:48.297958529 +0900 -+++ libtls-standalone/include/tls.h 2017-02-13 20:21:48.296958502 +0900 -@@ -22,6 +22,13 @@ - extern "C" { - #endif - -+#ifdef _MSC_VER -+#ifndef LIBRESSL_INTERNAL -+#include -+typedef SSIZE_T ssize_t; -+#endif -+#endif -+ - #include - + #include -- cgit v1.2.3-55-g6feb