summaryrefslogtreecommitdiffstats
path: root/src/gui/text/windows/qwindowsfontdatabase.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-09-11 08:55:38 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-09-15 09:44:00 +0000
commite8514f771d5b79298419f4b78cc5d3b0dc0af48c (patch)
treebcfe8d46c163453c291e692fe43bca427d5f27cf /src/gui/text/windows/qwindowsfontdatabase.cpp
parenta1a5e12ef908e900a0ec600cd1904e797fcab9c4 (diff)
Long live Q_(U)INT128_C()!
Compilers that support 128-bit integer types usually don't have support for 128-bit literals, so provide Q_(U)INT128_C macros and back them with UDLs. This, of course, only works in C++, so until compilers provide built-in literals that support C, too, that's all we get. [ChangeLog][QtCore] Added Q_INT128_C() and Q_UINT128_C() macros to create qint128 and quint128 literals in a platform-independent way. Fixes: QTBUG-116822 Change-Id: I4be645baf2e007ee1aa1a27f9b5166671806dc49 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 16433a4a6ed22750adfdb9633149c3bd485c4656) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 321dcd1d1d0fdd627160e882c471529baa6cafa7)
Diffstat (limited to 'src/gui/text/windows/qwindowsfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions