summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qbasicatomic.h
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-02-13 00:50:10 +0200
committerAhmad Samir <a.samirh78@gmail.com>2023-05-26 19:48:32 +0300
commit516aa662a06fd01e7caf23f282702465a23424b8 (patch)
tree37d690b7fd43a325b41b73a56652f17797b625fd /src/corelib/thread/qbasicatomic.h
parent0677d334f85f6d39f6f6495162eec69712e42370 (diff)
Break qglobal.h cyclic includes [3/3]
... with q*atomic.h. Drive-by change: include <climits> instead of <limits.h>, from the former's docs: «This is a Standard C++ Library file. You should @c \#include this file in your programs, rather than any of the @a *.h implementation files.» Task-number: QTBUG-106722 Change-Id: Id8169c482d2231c1620db033fbed1f904e15ed9c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qbasicatomic.h')
-rw-r--r--src/corelib/thread/qbasicatomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h
index d03c270ed6e..e3fbe558908 100644
--- a/src/corelib/thread/qbasicatomic.h
+++ b/src/corelib/thread/qbasicatomic.h
@@ -2,8 +2,6 @@
// Copyright (C) 2018 Intel Corporation.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-#include <QtCore/qglobal.h>
-
#ifndef QBASICATOMIC_H
#define QBASICATOMIC_H