1 | #ifndef AWS_CHECKSUMS_EXPORTS_H |
2 | #define AWS_CHECKSUMS_EXPORTS_H |
3 | /* |
4 | * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
5 | * |
6 | * Licensed under the Apache License, Version 2.0 (the "License"). |
7 | * You may not use this file except in compliance with the License. |
8 | * A copy of the License is located at |
9 | * |
10 | * http://aws.amazon.com/apache2.0 |
11 | * |
12 | * or in the "license" file accompanying this file. This file is distributed |
13 | * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
14 | * express or implied. See the License for the specific language governing |
15 | * permissions and limitations under the License. |
16 | */ |
17 | #if defined(USE_WINDOWS_DLL_SEMANTICS) || defined(WIN32) |
18 | |
19 | # ifdef USE_IMPORT_EXPORT |
20 | # ifdef AWS_CHECKSUMS_EXPORTS |
21 | # define AWS_CHECKSUMS_API __declspec(dllexport) |
22 | # else |
23 | # define AWS_CHECKSUMS_API __declspec(dllimport) |
24 | # endif /* AWS_CHECKSUMS_EXPORTS */ |
25 | # else |
26 | # define AWS_CHECKSUMS_API |
27 | # endif /* USE_IMPORT_EXPORT */ |
28 | #else /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */ |
29 | # define AWS_CHECKSUMS_API |
30 | #endif /* defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */ |
31 | |
32 | #endif /* AWS_CHECKSUMS_EXPORTS_H */ |
33 | |