diff options
Diffstat (limited to 'patches/crypto_namespace.h.patch')
-rw-r--r-- | patches/crypto_namespace.h.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/crypto_namespace.h.patch b/patches/crypto_namespace.h.patch new file mode 100644 index 0000000..2751524 --- /dev/null +++ b/patches/crypto_namespace.h.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- crypto/hidden/crypto_namespace.h.orig 2023-02-28 00:41:43.212756628 -0600 | ||
2 | +++ crypto/hidden/crypto_namespace.h 2023-02-28 00:42:01.152756349 -0600 | ||
3 | @@ -18,6 +18,10 @@ | ||
4 | #ifndef _LIBCRYPTO_CRYPTO_NAMESPACE_H_ | ||
5 | #define _LIBCRYPTO_CRYPTO_NAMESPACE_H_ | ||
6 | |||
7 | +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__) | ||
8 | +#define __attribute__(a) | ||
9 | +#endif | ||
10 | + | ||
11 | /* | ||
12 | * If marked as 'used', then internal calls use the name with prefix "_lcry_" | ||
13 | * and we alias that to the normal name *and* the name with prefix "_libre_"; | ||