diff options
author | Brent Cook <busterb@gmail.com> | 2020-08-20 10:19:23 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2020-08-20 10:19:23 -0500 |
commit | 85eea94598ff4b543777df4bf34d44ef5dfc06c6 (patch) | |
tree | e7b43cde3c48ea4f36fc10cfdd0b7e9272bc86dc /patches | |
parent | 24a3218467ac9ed1181b234ac005f074d5056053 (diff) | |
download | portable-85eea94598ff4b543777df4bf34d44ef5dfc06c6.tar.gz portable-85eea94598ff4b543777df4bf34d44ef5dfc06c6.tar.bz2 portable-85eea94598ff4b543777df4bf34d44ef5dfc06c6.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> |