azure-security-attestation
dll_import_export.hpp
Go to the documentation of this file.
1 // Copyright (c) Microsoft Corporation. All rights reserved.
2 // SPDX-License-Identifier: MIT
3 
9 // For explanation, see the comment in azure/core/dll_import_export.hpp
10 
11 #pragma once
12 
19 #if defined(AZ_ATTESTATION_DLL) || (0 /*@AZ_ATTESTATION_DLL_INSTALLED_AS_PACKAGE@*/)
20 #define AZ_ATTESTATION_BUILT_AS_DLL 1
21 #else
22 #define AZ_ATTESTATION_BUILT_AS_DLL 0
23 #endif
24 
25 #if AZ_ATTESTATION_BUILT_AS_DLL
26 #if defined(_MSC_VER)
27 #if defined(AZ_ATTESTATION_BEING_BUILT)
28 #define AZ_ATTESTATION_DLLEXPORT __declspec(dllexport)
29 #else // !defined(AZ_ATTESTATION_BEING_BUILT)
30 #define AZ_ATTESTATION_DLLEXPORT __declspec(dllimport)
31 #endif // AZ_ATTESTATION_BEING_BUILT
32 #else // !defined(_MSC_VER)
33 #define AZ_ATTESTATION_DLLEXPORT
34 #endif // _MSC_VER
35 #else // !AZ_ATTESTATION_BUILT_AS_DLL
36 #define AZ_ATTESTATION_DLLEXPORT
37 #endif // AZ_ATTESTATION_BUILT_AS_DLL
38 
39 #undef AZ_ATTESTATION_BUILT_AS_DLL
40 
45 namespace Azure {
46 
51 namespace Security { namespace Attestation {
52 
53 }}
54 } // namespace Azure
Azure
Azure SDK abstractions.
Definition: attestation_administration_client.hpp:13