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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CRYPTO_CRYPTO_API_H_ 5 #ifndef CRYPTO_CRYPTO_API_H_
6 #define CRYPTO_CRYPTO_API_H_ 6 #define CRYPTO_CRYPTO_API_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(CRYPTO_DLL) 9 #if defined(CRYPTO_DLL)
10 #if defined(WIN32) 10 #if defined(WIN32)
11
11 #if defined(CRYPTO_IMPLEMENTATION) 12 #if defined(CRYPTO_IMPLEMENTATION)
12 #define CRYPTO_API __declspec(dllexport) 13 #define CRYPTO_API __declspec(dllexport)
13 #else 14 #else
14 #define CRYPTO_API __declspec(dllimport) 15 #define CRYPTO_API __declspec(dllimport)
15 #endif // defined(CRYPTO_IMPLEMENTATION) 16 #endif // defined(CRYPTO_IMPLEMENTATION)
16 #else 17
18 #else // defined(WIN32)
17 #define CRYPTO_API __attribute__((visibility("default"))) 19 #define CRYPTO_API __attribute__((visibility("default")))
18 #endif // defined(WIN32) 20 #endif
19 #else 21
22 #else // defined(CRYPTO_DLL)
20 #define CRYPTO_API 23 #define CRYPTO_API
21 #endif 24 #endif
22 25
23 #endif // CRYPTO_CRYPTO_API_H_ 26 #endif // CRYPTO_CRYPTO_API_H_
OLDNEW
« 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