aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/lua_global.h
blob: e786361010c4ae4e05cc8e8153f1b476da8777ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <qglobal.h>

#if defined(LUA_LIBRARY)
#  define LUA_EXPORT Q_DECL_EXPORT
#elif defined(LUA_STATIC_LIBRARY) // Abuse single files for manual tests
#  define LUA_EXPORT
#else
#  define LUA_EXPORT Q_DECL_IMPORT
#endif