mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
11 lines
281 B
CMake
11 lines
281 B
CMake
// Provide wrapper for noexcept: Q_DECL_NOEXCEPT (also part of Qt5's qglobal.h)
|
|
// TODO: Just use QtCore/qglobal.h when porting to KF5
|
|
#include <QtCore/qglobal.h>
|
|
|
|
#ifndef Q_DECL_NOEXCEPT
|
|
#ifdef Q_OS_WIN
|
|
#define Q_DECL_NOEXCEPT
|
|
#else
|
|
#define Q_DECL_NOEXCEPT noexcept
|
|
#endif
|
|
#endif
|