NEMeetingKit V4.9.0
载入中...
搜索中...
未找到
kit_interface_export.h
浏览该文件的文档.
1// Copyright (c) 2022 NetEase, Inc. All rights reserved.
2// Use of this source code is governed by a MIT license that can be
3// found in the LICENSE file.
4
13#ifndef NEM_SDK_INTERFACE_EXPORT_H_
14#define NEM_SDK_INTERFACE_EXPORT_H_
15
16#if defined(NEM_SDK_INTERFACE_COMPONENT_BUILD)
17#if defined(WIN32)
18#if defined(NEM_SDK_INTERFACE_IMPLEMENTATION)
19#define NEM_SDK_INTERFACE_EXPORT __declspec(dllexport)
20#define NEM_SDK_INTERFACE_EXPORT_PRIVATE __declspec(dllexport)
21#else
22#define NEM_SDK_INTERFACE_EXPORT __declspec(dllimport)
23#define NEM_SDK_INTERFACE_EXPORT_PRIVATE __declspec(dllimport)
24#endif // defined(NEM_SDK_INTERFACE_IMPLEMENTATION)
25#else // defined(WIN32)
26#if defined(NEM_SDK_INTERFACE_IMPLEMENTATION)
27#define NEM_SDK_INTERFACE_EXPORT __attribute__((visibility("default")))
28#define NEM_SDK_INTERFACE_EXPORT_PRIVATE __attribute__((visibility("default")))
29#else
30#define NEM_SDK_INTERFACE_EXPORT
31#define NEM_SDK_INTERFACE_EXPORT_PRIVATE
32#endif // defined(NEM_SDK_INTERFACE_IMPLEMENTATION)
33#endif
34#else // defined(NEM_SDK_INTERFACE_COMPONENT_BUILD)
35#define NEM_SDK_INTERFACE_EXPORT
36#define NEM_SDK_INTERFACE_EXPORT_PRIVATE
37#endif
38
39#endif // NEM_SDK_INTERFACE_EXPORT_H_