Skip to content

Commit

Permalink
fix: msvc and release is a build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
XMuli committed Jul 14, 2022
1 parent a04c19a commit 6768820
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/qtacrylichelper_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
#include <QtCore/qglobal.h>

#ifndef QTACRYLICHELPER_API
#ifdef QTACRYLICHELPER_STATIC
#define QTACRYLICHELPER_API
#else
#ifdef QTACRYLICHELPER_BUILD_LIBRARY
#define QTACRYLICHELPER_API Q_DECL_EXPORT
#else
#define QTACRYLICHELPER_API Q_DECL_IMPORT
#endif
#endif
#ifdef QTACRYLICHELPER_STATIC
#define QTACRYLICHELPER_API
#else
#ifdef QTACRYLICHELPER_BUILD_LIBRARY
#define QTACRYLICHELPER_API Q_DECL_EXPORT
#else
#define QTACRYLICHELPER_API Q_DECL_EXPORT // Q_DECL_IMPORT
#endif
#endif
#endif

#if defined(Q_OS_WIN) && !defined(Q_OS_WINDOWS)
#define Q_OS_WINDOWS
#define Q_OS_WINDOWS
#endif

#ifndef Q_DISABLE_MOVE
Expand All @@ -55,7 +55,7 @@
#endif

#if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0))
#define qAsConst(i) std::as_const(i)
#define qAsConst(i) std::as_const(i)
#endif

namespace _qam::Global {
Expand Down

0 comments on commit 6768820

Please sign in to comment.