Debian Codegraph @

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

raw symbols SCIP
1 #ifndef AWS_CAL_EXPORTS_H
2 #define AWS_CAL_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_CAL_USE_IMPORT_EXPORT
9 # ifdef AWS_CAL_EXPORTS
10 # define AWS_CAL_API __declspec(dllexport)
11 # else
12 # define AWS_CAL_API __declspec(dllimport)
13 # endif /* AWS_CAL_EXPORTS */
14 # else
15 # define AWS_CAL_API
16 # endif /* AWS_CAL_USE_IMPORT_EXPORT */
17
18 #else /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
19
20 # if defined(AWS_CAL_USE_IMPORT_EXPORT) && defined(AWS_CAL_EXPORTS)
21 # define AWS_CAL_API __attribute__((visibility("default")))
22 # else
23 # define AWS_CAL_API
24 # endif
25
26 #endif /* defined (AWS_CRT_USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) */
27
28 #endif /* AWS_CAL_EXPORTS_H */