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 #ifdef _MSC_VER
9     //disable windows complaining about max template size.
10     #pragma warning (disable : 4503)
11 #endif // _MSC_VER
12 
13 #if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
14     #ifdef _MSC_VER
15         #pragma warning(disable : 4251)
16     #endif // _MSC_VER
17 
18     #ifdef USE_IMPORT_EXPORT
19         #ifdef AWS_DYNAMODBSTREAMS_EXPORTS
20             #define AWS_DYNAMODBSTREAMS_API __declspec(dllexport)
21         #else
22             #define AWS_DYNAMODBSTREAMS_API __declspec(dllimport)
23         #endif /* AWS_DYNAMODBSTREAMS_EXPORTS */
24     #else
25         #define AWS_DYNAMODBSTREAMS_API
26     #endif // USE_IMPORT_EXPORT
27 #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
28     #define AWS_DYNAMODBSTREAMS_API
29 #endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
30