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