From 3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 15 Feb 2023 07:56:44 -0600 Subject: generate opensslconf.h based on host cpu architecture --- include/openssl/opensslconf.h.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/openssl/opensslconf.h.in (limited to 'include/openssl') diff --git a/include/openssl/opensslconf.h.in b/include/openssl/opensslconf.h.in new file mode 100644 index 0000000..8842f00 --- /dev/null +++ b/include/openssl/opensslconf.h.in @@ -0,0 +1,15 @@ +#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__) +#define __attribute__(a) +#endif + +#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE) +# define LCRYPTO_UNUSED(x) +# define LCRYPTO_USED(x) +# define LCRYPTO_ALIAS1(pre, x) +# define LCRYPTO_ALIAS(x) + +# define LSSL_UNUSED(x) +# define LSSL_USED(x) +# define LSSL_ALIAS(x) +#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */ + -- cgit v1.2.3-55-g6feb