summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/ibase/qsql_ibase.cpp
diff options
context:
space:
mode:
authorChristian Ehrlicher <[email protected]>2024-06-05 17:10:49 +0200
committerChristian Ehrlicher <[email protected]>2024-06-05 23:25:55 +0200
commit694ce1772db45d115ad02019a46ad2db4c3abeab (patch)
tree4e97d252b39f541323be9a845117d6ad95aaabd7 /src/plugins/sqldrivers/ibase/qsql_ibase.cpp
parentc561bcceed0300a14e2062958afce62776be4b6f (diff)
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. Pick-to: 6.8 Change-Id: Ia2166a6260a9340a5e5bbca3f46c3b77a9f8d50d Reviewed-by: Axel Spoerl <[email protected]>
Diffstat (limited to 'src/plugins/sqldrivers/ibase/qsql_ibase.cpp')
-rw-r--r--src/plugins/sqldrivers/ibase/qsql_ibase.cpp2
1 files changed, 1 insertions, 1 deletions
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