AWS SDK for C++  0.14.3
AWS SDK for C++
Glacier_EXPORTS.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 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 #pragma once
16 
17 #ifdef _MSC_VER
18  //disable windows complaining about max template size.
19  #pragma warning (disable : 4503)
20 #endif // _MSC_VER
21 
22 #if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
23  #ifdef _MSC_VER
24  #pragma warning(disable : 4251)
25  #endif // _MSC_VER
26 
27  #ifdef USE_IMPORT_EXPORT
28  #ifdef AWS_GLACIER_EXPORTS
29  #define AWS_GLACIER_API __declspec(dllexport)
30  #else
31  #define AWS_GLACIER_API __declspec(dllimport)
32  #endif /* AWS_GLACIER_EXPORTS */
33  #else
34  #define AWS_GLACIER_API
35  #endif // USE_IMPORT_EXPORT
36 #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
37  #define AWS_GLACIER_API
38 #endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)