1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 
8 #if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
9     #ifdef _MSC_VER
10         #pragma warning(disable : 4251)
11     #endif // _MSC_VER
12     #ifdef USE_IMPORT_EXPORT
13         #ifdef AWS_S3ENCRYPTION_EXPORTS
14             #define  AWS_S3ENCRYPTION_API __declspec(dllexport)
15         #else // AWS_S3ENCRYPTION_EXPORTS
16             #define  AWS_S3ENCRYPTION_API __declspec(dllimport)
17         #endif // AWS_S3ENCRYPTION_EXPORTS
18     #else // USE_IMPORT_EXPORT
19         #define AWS_S3ENCRYPTION_API
20     #endif // USE_IMPORT_EXPORT
21 #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
22     #define AWS_S3ENCRYPTION_API
23 #endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
24 
25