Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: crypto/crypto_export.h

Issue 10386108: Change the way _EXPORT macros look. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698