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