diff options
Diffstat (limited to 'crypto/crypto_export.h')
-rw-r--r-- | crypto/crypto_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/crypto_export.h b/crypto/crypto_export.h index c36e527..2806dc8 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) |