Index: crypto/crypto_export.h |
diff --git a/crypto/crypto_export.h b/crypto/crypto_export.h |
index c36e52749b51ae46a63ff82b8e2898dc0727eb90..2806dc82ed749b0513d4b94e9ea3dcfc7ee90de8 100644 |
--- a/crypto/crypto_export.h |
+++ b/crypto/crypto_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(CRYPTO_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(CRYPTO_IMPLEMENTATION) |
#define CRYPTO_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define CRYPTO_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |