generate opensslconf.h based on host cpu architecture

This commit is contained in:
Brent Cook
2023-02-15 07:56:44 -06:00
parent 20fb2bdb11
commit 3c7747fd8b
7 changed files with 41 additions and 27 deletions

View File

@@ -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 */