kde-extraapps/kdevplatform/config-kdevplatform.h.cmake
2015-07-26 14:23:17 +03:00

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