summaryrefslogtreecommitdiffstats
path: root/src/codecs/qtextcodec.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:13:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-18 01:13:31 +0900
commitf849f22528ee9eb5eeb1f9aa92822846b2b3e01f (patch)
tree0ec893f6112e8abf121bb35b9755a43e2db99833 /src/codecs/qtextcodec.cpp
parent2848b517a64d4ad5424af224772cea26bdbf375c (diff)
downloadqt3-f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.tar.gz
qt3-f849f22528ee9eb5eeb1f9aa92822846b2b3e01f.zip
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/codecs/qtextcodec.cpp')
-rw-r--r--src/codecs/qtextcodec.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/codecs/qtextcodec.cpp b/src/codecs/qtextcodec.cpp
index 80d0093..b85f5e9 100644
--- a/src/codecs/qtextcodec.cpp
+++ b/src/codecs/qtextcodec.cpp
@@ -75,9 +75,9 @@
# include "qfontcodecs_p.h"
#endif
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
# include <private/qmutexpool_p.h>
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
#include <stdlib.h>
#include <ctype.h>
@@ -121,12 +121,12 @@ void QTextCodec::deleteAllCodecs()
if ( !all )
return;
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &all ) : 0 );
if ( !all )
return;
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
destroying_is_ok = TRUE;
@@ -151,11 +151,11 @@ static inline void setup()
{
if ( all ) return;
-#ifdef QT_THREAD_SUPPORT
+#ifdef TQT_THREAD_SUPPORT
QMutexLocker locker( qt_global_mutexpool ?
qt_global_mutexpool->get( &all ) : 0 );
if ( all ) return;
-#endif // QT_THREAD_SUPPORT
+#endif // TQT_THREAD_SUPPORT
realSetup();
}