swift
fscommonexport.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_SIMPLUGIN_FSCOMMON_SIMULATORFSCOMMON_MACROS_H
7 #define SWIFT_SIMPLUGIN_FSCOMMON_SIMULATORFSCOMMON_MACROS_H
8 
9 #include <QtGlobal>
10 
16 #ifndef WITH_STATIC
17 # if defined(BUILD_FSCOMMON_LIB)
18 # define FSCOMMON_EXPORT Q_DECL_EXPORT
19 # else
20 # define FSCOMMON_EXPORT Q_DECL_IMPORT
21 # endif
22 #else
23 # define FSCOMMON_EXPORT
24 #endif
25 
26 #endif // SWIFT_SIMPLUGIN_FSCOMMON_SIMULATORFSCOMMON_MACROS_H