aboutsummaryrefslogtreecommitdiff
path: root/lib/quotient_export.h
blob: 5a6edb0e4a9137c568b68a7a963649bf077c74bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-FileCopyrightText: 2021 Kitsune Ral <kitsune-ral@users.sf.net>
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once

#ifdef QUOTIENT_STATIC
#  define QUOTIENT_API
#  define QUOTIENT_HIDDEN
#else
#  ifndef QUOTIENT_API
#    ifdef BUILDING_SHARED_QUOTIENT
        /* We are building this library */
#      define QUOTIENT_API Q_DECL_EXPORT
#    else
        /* We are using this library */
#      define QUOTIENT_API Q_DECL_IMPORT
#    endif
#  endif

#  ifndef QUOTIENT_HIDDEN
#    define QUOTIENT_HIDDEN Q_DECL_HIDDEN
#  endif
#endif