Don't leak namespace macros out of the library
This commit is contained in:
parent
67ab6a1187
commit
38089b5596
@ -8,7 +8,7 @@
|
|||||||
+#define __attribute__(a)
|
+#define __attribute__(a)
|
||||||
+#endif
|
+#endif
|
||||||
+
|
+
|
||||||
+#ifndef LIBRESSL_NAMESPACE
|
+#if defined(LIBRESSL_INTERNAL) && !defined(LIBRESSL_NAMESPACE)
|
||||||
+# define LCRYPTO_UNUSED(x)
|
+# define LCRYPTO_UNUSED(x)
|
||||||
+# define LCRYPTO_USED(x)
|
+# define LCRYPTO_USED(x)
|
||||||
+# define LCRYPTO_ALIAS1(pre, x)
|
+# define LCRYPTO_ALIAS1(pre, x)
|
||||||
@ -17,7 +17,7 @@
|
|||||||
+# define LSSL_UNUSED(x)
|
+# define LSSL_UNUSED(x)
|
||||||
+# define LSSL_USED(x)
|
+# define LSSL_USED(x)
|
||||||
+# define LSSL_ALIAS(x)
|
+# define LSSL_ALIAS(x)
|
||||||
+#endif /* !LIBRESSL_NAMESPACE */
|
+#endif /* LIBRESSL_INTERNAL && !LIBRESSL_NAMESPACE */
|
||||||
+
|
+
|
||||||
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
|
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
|
||||||
#define OPENSSLDIR "/etc/ssl"
|
#define OPENSSLDIR "/etc/ssl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user