forked from qt-creator/qt-creator
GPL-3.0 is deprecated by SPDX.
Change done by
find . -type f -exec perl -pi -e 's/LicenseRef-Qt-Commercial OR GPL-3.0(?!-)/LicenseRef-Qt-Commercial OR GPL-3.0-only/g' {} \;
Change-Id: If316a498e3f27d2030b86d4e7743b3237ce09939
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
13 lines
600 B
C
13 lines
600 B
C
// Copyright (C) 2020 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
// MinGW's "public" float.h includes a "private" float.h via #include_next.
|
|
// We don't have access to the private header, because we cannot add its directory to
|
|
// the list of include paths due to other headers in there that confuse clang.
|
|
// Therefore, we prevent inclusion of the private header by setting a magic macro.
|
|
// See also QTCREATORBUG-24251.
|
|
#ifdef __MINGW32__ // Redundant, but let's play it safe.
|
|
#define __FLOAT_H
|
|
#include_next <float.h>
|
|
#endif
|