From b67c748e29fdbf5e03dc08808a720f53966cf7ef Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Wed, 5 Jun 2024 17:10:49 +0200 Subject: [PATCH] SQL/IBase use QT_USE_MSVC_INT128 ... instead Q_CC_MSVC to be in sync with qlocale_tools_p.h and avoid compiler erros when used with msvc versions not providing int128 support. Change-Id: Ia2166a6260a9340a5e5bbca3f46c3b77a9f8d50d Reviewed-by: Axel Spoerl (cherry picked from commit 694ce1772db45d115ad02019a46ad2db4c3abeab) Reviewed-by: Qt Cherry-pick Bot --- src/plugins/sqldrivers/ibase/qsql_ibase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/sqldrivers/ibase/qsql_ibase.cpp b/src/plugins/sqldrivers/ibase/qsql_ibase.cpp index b50bfa41de0..c6a364050a8 100644 --- a/src/plugins/sqldrivers/ibase/qsql_ibase.cpp +++ b/src/plugins/sqldrivers/ibase/qsql_ibase.cpp @@ -43,7 +43,7 @@ using namespace Qt::StringLiterals; #define blr_boolean_dtype blr_bool #endif -#if (defined(QT_SUPPORTS_INT128) || defined(Q_CC_MSVC)) && (FB_API_VER >= 40) +#if (defined(QT_SUPPORTS_INT128) || defined(QT_USE_MSVC_INT128)) && (FB_API_VER >= 40) #define IBASE_INT128_SUPPORTED #endif