blob: e0dfdd1962b546f021b4455bc429c87a02bb2672 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#ifndef LIBMINIMALMACROS_H
#define LIBMINIMALMACROS_H
#if defined _WIN32
# define LIBMINIMAL_EXPORT __declspec(dllexport)
# ifdef _MSC_VER
# define LIBMINIMAL_IMPORT __declspec(dllimport)
# else
# define LIBMINIMAL_IMPORT
# endif
#else
# define LIBMINIMAL_EXPORT __attribute__ ((visibility("default")))
# define LIBMINIMAL_IMPORT
#endif
#ifdef LIBMINIMAL_BUILD
# define LIBMINIMAL_API LIBMINIMAL_EXPORT
#else
# define LIBMINIMAL_API LIBMINIMAL_IMPORT
#endif
#endif // LIBMINIMALMACROS_H
|