Files
pilotclient/src/blackcore/blackcoreexport.h
2018-07-11 23:48:38 +02:00

33 lines
801 B
C

/* Copyright (C) 2015
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKCORE_MACROS_H
#define BLACKCORE_MACROS_H
#include <QtGlobal>
/*!
* \def BLACKCORE_EXPORT
* BlackCore Export Macro
*/
#ifndef WITH_STATIC
# if defined(BUILD_BLACKCORE_LIB)
# define BLACKCORE_EXPORT Q_DECL_EXPORT
# else
# define BLACKCORE_EXPORT Q_DECL_IMPORT
# endif
#else
# define BLACKCORE_EXPORT
#endif
#endif // guard