summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/GException.h
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/GException.h')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/GException.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GException.h b/kviewshell/plugins/djvu/libdjvu/GException.h
index 41a8b9a8..2df26894 100644
--- a/kviewshell/plugins/djvu/libdjvu/GException.h
+++ b/kviewshell/plugins/djvu/libdjvu/GException.h
@@ -229,7 +229,7 @@ private:
#if defined(_MSC_VER)
#define CPP_SUPPORTS_EXCEPTIONS
#endif
-#if defined(__EXCEPTIONS)
+#ifndef Q_NO_EXCEPTIONS
#define CPP_SUPPORTS_EXCEPTIONS
#endif
// Decide which exception model to use