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/qgarray.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/tools/qgarray.cpp') diff --git a/src/tools/qgarray.cpp b/src/tools/qgarray.cpp index 8a27510..298d1a2 100644 --- a/src/tools/qgarray.cpp +++ b/src/tools/qgarray.cpp @@ -52,9 +52,9 @@ #include #include -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT # include -#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 QGArray::sort( uint sz ) if ( numItems < 2 ) return; -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT QMutexLocker locker( qt_global_mutexpool ? qt_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 QGArray::bsearch( const char *d, uint sz ) const if ( !numItems ) return -1; -#ifdef QT_THREAD_SUPPORT +#ifdef TQT_THREAD_SUPPORT QMutexLocker locker( qt_global_mutexpool ? qt_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 ); -- cgit v1.2.3