diff options
author | Michele Calgaro <[email protected]> | 2018-09-16 22:30:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-09-16 22:30:57 +0900 |
commit | 02964eb384e1b5a73a198d04262497607d81e38f (patch) | |
tree | 56b694b9d973c7906f9960a2029068dc44791c2b /src/tools/qgarray.cpp | |
parent | 1fb89fa15488ff396623fc275242b8ed149f4c1e (diff) | |
download | tqt3-02964eb384e1b5a73a198d04262497607d81e38f.tar.gz tqt3-02964eb384e1b5a73a198d04262497607d81e38f.zip |
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of the
qt->tqt conversion and is required to align to corresponding patch for
common/admin module.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tools/qgarray.cpp')
-rw-r--r-- | src/tools/qgarray.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/tools/qgarray.cpp b/src/tools/qgarray.cpp index f2b41e506..1d4971c20 100644 --- a/src/tools/qgarray.cpp +++ b/src/tools/qgarray.cpp @@ -52,9 +52,9 @@ #include <stdlib.h> #include <string.h> -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT # include <private/qmutexpool_p.h> -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT /* If USE_MALLOC isn't defined, we use new[] and delete[] to allocate @@ -733,10 +733,10 @@ void TQGArray::sort( uint sz ) if ( numItems < 2 ) return; -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT TQMutexLocker locker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &cmp_item_size ) : 0 ); -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT cmp_item_size = sz; qsort( shd->data, numItems, sz, cmp_arr ); @@ -752,10 +752,10 @@ int TQGArray::bsearch( const char *d, uint sz ) const if ( !numItems ) return -1; -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT TQMutexLocker locker( tqt_global_mutexpool ? tqt_global_mutexpool->get( &cmp_item_size ) : 0 ); -#endif // QT_THREAD_SUPPORT +#endif // TQT_THREAD_SUPPORT cmp_item_size = sz; char* r = (char*)::bsearch( d, shd->data, numItems, sz, cmp_arr ); |