diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
commit | 84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1 (patch) | |
tree | d5450ecf0f33e4a1cf654043fc9087e72f708f34 /crypto | |
parent | 3be6c69d07727f429c108a0c649bbbfb20403a47 (diff) | |
download | chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.zip chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.gz chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.bz2 |
net: Add NET_API to more code to enable building
a shared net library on Linux, and update base and
crypto API definitions.
BUG=76997
TEST=none
Review URL: http://codereview.chromium.org/7240021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/crypto_api.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crypto/crypto_api.h b/crypto/crypto_api.h index 407eb33..b8af452 100644 --- a/crypto/crypto_api.h +++ b/crypto/crypto_api.h @@ -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 |