Debian Codegraph @

crt/aws-c-compression/include/aws/compression/exports.h

raw symbols SCIP
1 #ifndef AWS_COMPRESSION_EXPORTS_H
2 #define AWS_COMPRESSION_EXPORTS_H
3 /**
4 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: Apache-2.0.
6 */
7 #if defined(AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined(_WIN32)
8 # ifdef AWS_COMPRESSION_USE_IMPORT_EXPORT
9 # ifdef AWS_COMPRESSION_EXPORTS
10 # define AWS_COMPRESSION_API __declspec(dllexport)
11 # else
12 # define AWS_COMPRESSION_API __declspec(dllimport)
13 # endif /* AWS_COMPRESSION_EXPORTS */
14 # else
15 # define AWS_COMPRESSION_API
16 # endif /* AWS_COMPRESSION_USE_IMPORT_EXPORT */
17
18 #else /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
19 # if defined(AWS_COMPRESSION_USE_IMPORT_EXPORT) && defined(AWS_COMPRESSION_EXPORTS)
20 # define AWS_COMPRESSION_API __attribute__((visibility("default")))
21 # else
22 # define AWS_COMPRESSION_API
23 # endif
24
25 #endif /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
26
27 #endif /* AWS_COMPRESSION_EXPORTS_H */