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

Unified Diff: crypto/crypto_api.h

Issue 7240021: net: Add NET_API for some linux-only files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« base/base_api.h ('K') | « base/base_api.h ('k') | net/base/net_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/crypto_api.h
===================================================================
--- crypto/crypto_api.h (revision 90330)
+++ crypto/crypto_api.h (working copy)
@@ -8,15 +8,18 @@
#if defined(CRYPTO_DLL)
#if defined(WIN32)
+
#if defined(CRYPTO_IMPLEMENTATION)
#define CRYPTO_API __declspec(dllexport)
#else
#define CRYPTO_API __declspec(dllimport)
#endif // defined(CRYPTO_IMPLEMENTATION)
-#else
+
+#else // defined(WIN32)
#define CRYPTO_API __attribute__((visibility("default")))
-#endif // defined(WIN32)
-#else
+#endif
+
+#else // defined(CRYPTO_DLL)
#define CRYPTO_API
#endif
« base/base_api.h ('K') | « base/base_api.h ('k') | net/base/net_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698