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
13QT_WARNING_PUSH
14QT_WARNING_DISABLE_CLANG("-Wundef")
15QT_WARNING_DISABLE_GCC("-Wundef")
16#include "cycle_p.h"
17QT_WARNING_POP
18
19#endif // QBENCHLIB_CYCLE_INCLUDE_H
20

source code of qtbase/src/testlib/3rdparty/cycle/cycle_include_p.h