summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/GThreads.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/GThreads.cpp')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/GThreads.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GThreads.cpp b/kviewshell/plugins/djvu/libdjvu/GThreads.cpp
index 2e96d887..3bbe6fb8 100644
--- a/kviewshell/plugins/djvu/libdjvu/GThreads.cpp
+++ b/kviewshell/plugins/djvu/libdjvu/GThreads.cpp
@@ -661,7 +661,7 @@ GThread::start(void *arg)
#endif
#endif
// Catch exceptions
-#ifdef __EXCEPTIONS
+#ifndef Q_NO_EXCEPTIONS
try
{
#endif
@@ -678,7 +678,7 @@ GThread::start(void *arg)
#endif
}
G_ENDCATCH;
-#ifdef __EXCEPTIONS
+#ifndef Q_NO_EXCEPTIONS
}
catch(...)
{
@@ -1568,7 +1568,7 @@ starttwo(GThread *thr)
// an exception context pointer. Therefore
// we can register the exception handlers.
// It is placed after ``startone'' to avoid inlining.
-#ifdef __EXCEPTIONS
+#ifndef Q_NO_EXCEPTIONS
try
{
#endif
@@ -1585,7 +1585,7 @@ starttwo(GThread *thr)
#endif
}
G_ENDCATCH;
-#ifdef __EXCEPTIONS
+#ifndef Q_NO_EXCEPTIONS
}
catch(...)
{