summaryrefslogtreecommitdiffstats
path: root/crypto/crypto_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/crypto_api.h')
-rw-r--r--crypto/crypto_api.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/crypto_api.h b/crypto/crypto_api.h
index 2787af8..b8af452 100644
--- a/crypto/crypto_api.h
+++ b/crypto/crypto_api.h
@@ -6,7 +6,7 @@
#define CRYPTO_CRYPTO_API_H_
#pragma once
-#if defined(COMPONENT_BUILD)
+#if defined(CRYPTO_DLL)
#if defined(WIN32)
#if defined(CRYPTO_IMPLEMENTATION)
@@ -19,7 +19,7 @@
#define CRYPTO_API __attribute__((visibility("default")))
#endif
-#else // defined(COMPONENT_BUILD)
+#else // defined(CRYPTO_DLL)
#define CRYPTO_API
#endif