| 1 | // Copyright (C) 2025 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QBENCHLIB_CYCLE_INCLUDE_H |
| 5 | #define QBENCHLIB_CYCLE_INCLUDE_H |
| 6 | |
| 7 | #include <QtCore/qcompilerdetection.h> |
| 8 | |
| 9 | // This file suppresses compilation warnings coming from cycle_p.h. |
| 10 | // Include this file instead of cycle_p.h directly. |
| 11 | |
| 12 | #define QBENCHLIB_INCLUDING_CYCLE_P |
| 13 | QT_WARNING_PUSH |
| 14 | QT_WARNING_DISABLE_CLANG("-Wundef" ) |
| 15 | QT_WARNING_DISABLE_GCC("-Wundef" ) |
| 16 | #include "cycle_p.h" |
| 17 | QT_WARNING_POP |
| 18 | |
| 19 | #endif // QBENCHLIB_CYCLE_INCLUDE_H |
| 20 | |