Don't rely on qdoc running on a QT_SUPPORTS_INT128 platform

Make the typedefs (and functions using qint128) visible to qdoc,
always.

Amends befda1accab417ce5f55cb11816e6ded51af55e3.

Pick-to: 6.7
Change-Id: I7743b130a87033bf6d8cac317d6c5e9ea09f845a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit e4a0a2fe8d5cd468a3dde46d6bdcdf8c5b0a9804)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2024-08-08 16:42:06 +02:00 committed by Qt Cherry-pick Bot
parent caf57f0ca3
commit 073fed11e8

View File

@ -63,7 +63,9 @@ typedef unsigned long long quint64; /* 64 bit unsigned */
typedef qint64 qlonglong;
typedef quint64 qulonglong;
#if defined(__SIZEOF_INT128__) && !defined(QT_NO_INT128)
#ifdef Q_QDOC // QDoc always needs to see the typedefs
# define QT_SUPPORTS_INT128 16
#elif defined(__SIZEOF_INT128__) && !defined(QT_NO_INT128)
# define QT_SUPPORTS_INT128 __SIZEOF_INT128__
#else
# undef QT_SUPPORTS_INT128