AWS SDK for C++  1.9.123
AWS SDK for C++
Transfer_EXPORTS.h
Go to the documentation of this file.
1 
5 #pragma once
6 
7 #ifdef _MSC_VER
8  //disable windows complaining about max template size.
9  #pragma warning (disable : 4503)
10 #endif
11 
12 #if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
13  #ifdef _MSC_VER
14  #pragma warning(disable : 4251)
15  #endif // _MSC_VER
16 
17  #ifdef USE_IMPORT_EXPORT
18  #ifdef AWS_TRANSFER_EXPORTS
19  #define AWS_TRANSFER_API __declspec(dllexport)
20  #else
21  #define AWS_TRANSFER_API __declspec(dllimport)
22  #endif // AWS_TRANSFER_EXPORTS
23  #else // USE_IMPORT_EXPORT
24  #define AWS_TRANSFER_API
25  #endif // USE_IMPORT_EXPORT
26 #else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
27  #define AWS_TRANSFER_API
28 #endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)