diff options
author | Brent Cook <busterb@gmail.com> | 2020-08-20 10:19:23 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-10-17 03:15:28 -0500 |
commit | 77c7de8bb1a33c4fded5f70099271dafd7a23330 (patch) | |
tree | a3e3d353998efdbbc28a008d3ebf9aacabcdaafb /patches | |
parent | 381fc586c3156b817cd75aa75c5244f8e6d065fd (diff) | |
download | portable-77c7de8bb1a33c4fded5f70099271dafd7a23330.tar.gz portable-77c7de8bb1a33c4fded5f70099271dafd7a23330.tar.bz2 portable-77c7de8bb1a33c4fded5f70099271dafd7a23330.zip |
disable some additional libtls-standalone bits
Diffstat (limited to 'patches')
-rw-r--r-- | patches/tls.h.patch | 20 |
1 files changed, 2 insertions, 18 deletions
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 @@ | |||
3 | @@ -22,6 +22,13 @@ | 3 | @@ -22,6 +22,13 @@ |
4 | extern "C" { | 4 | extern "C" { |
5 | #endif | 5 | #endif |
6 | 6 | ||
7 | +#ifdef _MSC_VER | 7 | +#ifdef _MSC_VER |
8 | +#ifndef LIBRESSL_INTERNAL | 8 | +#ifndef LIBRESSL_INTERNAL |
9 | +#include <basetsd.h> | 9 | +#include <basetsd.h> |
@@ -12,21 +12,5 @@ | |||
12 | +#endif | 12 | +#endif |
13 | + | 13 | + |
14 | #include <sys/types.h> | 14 | #include <sys/types.h> |
15 | 15 | ||
16 | #include <stddef.h> | ||
17 | --- libtls-standalone/include/tls.h.orig 2017-02-13 20:21:48.297958529 +0900 | ||
18 | +++ libtls-standalone/include/tls.h 2017-02-13 20:21:48.296958502 +0900 | ||
19 | @@ -22,6 +22,13 @@ | ||
20 | extern "C" { | ||
21 | #endif | ||
22 | |||
23 | +#ifdef _MSC_VER | ||
24 | +#ifndef LIBRESSL_INTERNAL | ||
25 | +#include <basetsd.h> | ||
26 | +typedef SSIZE_T ssize_t; | ||
27 | +#endif | ||
28 | +#endif | ||
29 | + | ||
30 | #include <sys/types.h> | ||
31 | |||
32 | #include <stddef.h> | 16 | #include <stddef.h> |