diff options
Diffstat (limited to 'src/tools/qdir_unix.cpp')
-rw-r--r-- | src/tools/qdir_unix.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qdir_unix.cpp b/src/tools/qdir_unix.cpp index 7f316ad71..5c421a3e3 100644 --- a/src/tools/qdir_unix.cpp +++ b/src/tools/qdir_unix.cpp @@ -48,9 +48,9 @@ #include "ntqregexp.h" #include "ntqstringlist.h" -#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 <limits.h> @@ -237,7 +237,7 @@ bool TQDir::readDirEntries( const TQString &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 TQDir::readDirEntries( const TQString &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 { TQString fn = TQFile::decodeName(file->d_name); fi.setFile( *this, fn ); @@ -311,10 +311,10 @@ const TQFileInfoList * TQDir::drives() if ( !knownMemoryLeak ) { -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT TQMutexLocker locker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &knownMemoryLeak ) : 0 ); -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT if ( !knownMemoryLeak ) { knownMemoryLeak = new TQFileInfoList; |