From f849f22528ee9eb5eeb1f9aa92822846b2b3e01f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 18 Sep 2018 01:13:31 +0900 Subject: QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module Signed-off-by: Michele Calgaro --- src/tools/qdir_unix.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/tools/qdir_unix.cpp') diff --git a/src/tools/qdir_unix.cpp b/src/tools/qdir_unix.cpp index 5c0c393..05b434c 100644 --- a/src/tools/qdir_unix.cpp +++ b/src/tools/qdir_unix.cpp @@ -48,9 +48,9 @@ #include "qregexp.h" #include "qstringlist.h" -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT # include -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT #include #include @@ -237,7 +237,7 @@ bool QDir::readDirEntries( const QString &nameFilter, if ( !dir ) return FALSE; // cannot read the directory -#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN) +#if defined(TQT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN) union { struct dirent mt_file; char b[sizeof(struct dirent) + MAXNAMLEN + 1]; @@ -245,7 +245,7 @@ bool QDir::readDirEntries( const QString &nameFilter, while ( readdir_r(dir, &u.mt_file, &file ) == 0 && file ) #else while ( (file = readdir(dir)) ) -#endif // QT_THREAD_SUPPORT && _POSIX_THREAD_SAFE_FUNCTIONS +#endif // TQT_THREAD_SUPPORT && _POSIX_THREAD_SAFE_FUNCTIONS { QString fn = QFile::decodeName(file->d_name); fi.setFile( *this, fn ); @@ -311,10 +311,10 @@ const QFileInfoList * QDir::drives() if ( !knownMemoryLeak ) { -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT QMutexLocker locker( qt_global_mutexpool ? qt_global_mutexpool->get( &knownMemoryLeak ) : 0 ); -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT if ( !knownMemoryLeak ) { knownMemoryLeak = new QFileInfoList; -- cgit v1.2.3