diff options
Diffstat (limited to 'patches/ssl_namespace.h.patch')
| -rw-r--r-- | patches/ssl_namespace.h.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/ssl_namespace.h.patch b/patches/ssl_namespace.h.patch deleted file mode 100644 index d7b924a..0000000 --- a/patches/ssl_namespace.h.patch +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | --- ssl/hidden/ssl_namespace.h.orig Sun Aug 17 13:14:19 2025 | ||
| 2 | +++ ssl/hidden/ssl_namespace.h Mon Aug 18 04:11:53 2025 | ||
| 3 | @@ -23,6 +23,10 @@ | ||
| 4 | * and we alias that to the normal name. | ||
| 5 | */ | ||
| 6 | |||
| 7 | +#ifdef _MSC_VER | ||
| 8 | +#undef LIBRESSL_NAMESPACE | ||
| 9 | +#endif | ||
| 10 | + | ||
| 11 | #ifdef LIBRESSL_NAMESPACE | ||
| 12 | #define LSSL_UNUSED(x) typeof(x) x __attribute__((deprecated)) | ||
| 13 | #define LSSL_USED(x) __attribute__((visibility("hidden"))) \ | ||
| 14 | @@ -35,7 +39,11 @@ | ||
| 15 | #else | ||
| 16 | #define LSSL_UNUSED(x) | ||
| 17 | #define LSSL_USED(x) | ||
| 18 | +#ifdef _MSC_VER | ||
| 19 | +#define LSSL_ALIAS(x) | ||
| 20 | +#else | ||
| 21 | #define LSSL_ALIAS(x) asm("") | ||
| 22 | +#endif /* _MSC_VER */ | ||
| 23 | #endif | ||
| 24 | |||
| 25 | #endif /* _LIBSSL_SSL_NAMESPACE_H_ */ | ||
