forked from qt-creator/qt-creator
Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
13 lines
595 B
C
13 lines
595 B
C
// Copyright (C) 2020 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0 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
|