OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CRYPTO_CRYPTO_API_H_ |
| 6 #define CRYPTO_CRYPTO_API_H_ |
| 7 #pragma once |
| 8 |
| 9 #if defined(CRYPTO_DLL) |
| 10 #if defined(WIN32) |
| 11 #if defined(CRYPTO_IMPLEMENTATION) |
| 12 #define CRYPTO_API __declspec(dllexport) |
| 13 #else |
| 14 #define CRYPTO_API __declspec(dllimport) |
| 15 #endif // defined(CRYPTO_IMPLEMENTATION) |
| 16 #else |
| 17 #define CRYPTO_API __attribute__((visibility("default"))) |
| 18 #endif // defined(WIN32) |
| 19 #else |
| 20 #define CRYPTO_API |
| 21 #endif |
| 22 |
| 23 #endif // CRYPTO_CRYPTO_API_H_ |
OLD | NEW |