summaryrefslogtreecommitdiffstats
path: root/indexlib
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-11 23:19:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-11 23:19:46 +0900
commit846ac1ab4fdeeffbc0fe9ab338573b72df39e247 (patch)
treec39e220c599a3426e0c33ac8a3d6c2e8b720de6b /indexlib
parent9dd508a3c3f71d0cfff68634be6603466a9e16d0 (diff)
downloadtdepim-remove/no-exception.tar.gz
tdepim-remove/no-exception.zip
Replace __EXCEPTIONS usage with equivalent one using Q_NO_EXCEPTIONSremove/no-exception
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'indexlib')
-rw-r--r--indexlib/boost-compat/config/compiler/common_edg.h2
-rw-r--r--indexlib/boost-compat/config/compiler/gcc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/indexlib/boost-compat/config/compiler/common_edg.h b/indexlib/boost-compat/config/compiler/common_edg.h
index 28b164a8..6b2c1354 100644
--- a/indexlib/boost-compat/config/compiler/common_edg.h
+++ b/indexlib/boost-compat/config/compiler/common_edg.h
@@ -35,7 +35,7 @@
#endif
// See also kai.h which checks a Kai-specific symbol for EH
-# if !defined(__KCC) && !defined(__EXCEPTIONS)
+# if !defined(__KCC) && defined(Q_NO_EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif
diff --git a/indexlib/boost-compat/config/compiler/gcc.h b/indexlib/boost-compat/config/compiler/gcc.h
index 4be7f408..23cd12f9 100644
--- a/indexlib/boost-compat/config/compiler/gcc.h
+++ b/indexlib/boost-compat/config/compiler/gcc.h
@@ -39,7 +39,7 @@
# define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
# endif
-#ifndef __EXCEPTIONS
+#ifdef Q_NO_EXCEPTIONS
# define BOOST_NO_EXCEPTIONS
#endif