aboutsummaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-02-15 07:56:44 -0600
committerBrent Cook <busterb@gmail.com>2023-02-15 07:56:44 -0600
commit3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5 (patch)
tree99051bae4bb93a8e36f9560dc39f0b85d52b3f6f /include/openssl
parent20fb2bdb1197008f46c080b8539084c69b7a8c92 (diff)
downloadportable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.gz
portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.tar.bz2
portable-3c7747fd8bcaaf2eb2f901c34d573bae52fea0c5.zip
generate opensslconf.h based on host cpu architecture
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/opensslconf.h.in15
1 files changed, 15 insertions, 0 deletions
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 @@
1#if defined(_MSC_VER) && !defined(__clang__) && !defined(__attribute__)
2#define __attribute__(a)
3#endif
4
5#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE)
6# define LCRYPTO_UNUSED(x)
7# define LCRYPTO_USED(x)
8# define LCRYPTO_ALIAS1(pre, x)
9# define LCRYPTO_ALIAS(x)
10
11# define LSSL_UNUSED(x)
12# define LSSL_USED(x)
13# define LSSL_ALIAS(x)
14#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */
15