forked from pool/Botan
25 lines
938 B
Diff
25 lines
938 B
Diff
|
Index: src/mutex/qt_mutex/mux_qt.cpp
|
||
|
===================================================================
|
||
|
--- src/mutex/qt_mutex/mux_qt.cpp.orig 2010-08-31 18:39:00.000000000 +0200
|
||
|
+++ src/mutex/qt_mutex/mux_qt.cpp 2010-09-01 18:50:46.546845986 +0200
|
||
|
@@ -9,7 +9,7 @@
|
||
|
#include <botan/mux_qt.h>
|
||
|
#include <qmutex.h>
|
||
|
|
||
|
-#if !defined(QT_THREAD_SUPPORT)
|
||
|
+#if !(defined(QT_THREAD_SUPPORT) || !defined(QT_NO_THREAD))
|
||
|
#error Your version of Qt does not support threads or mutexes
|
||
|
#endif
|
||
|
|
||
|
Index: src/mutex/qt_mutex/info.txt
|
||
|
===================================================================
|
||
|
--- src/mutex/qt_mutex/info.txt.orig 2010-08-31 18:39:00.000000000 +0200
|
||
|
+++ src/mutex/qt_mutex/info.txt 2010-09-01 20:07:41.039257575 +0200
|
||
|
@@ -14,5 +14,5 @@ mux_qt.h
|
||
|
# I think we want to always use qt-mt, not qt -- not much point in supporting
|
||
|
# mutexes in a single threaded application, after all.
|
||
|
<libs>
|
||
|
-all -> qt-mt
|
||
|
+all -> QtCore
|
||
|
</libs>
|