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/kernel/qfont_x11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/qfont_x11.cpp') diff --git a/src/kernel/qfont_x11.cpp b/src/kernel/qfont_x11.cpp index fea0b58..477cd33 100644 --- a/src/kernel/qfont_x11.cpp +++ b/src/kernel/qfont_x11.cpp @@ -269,13 +269,13 @@ void QFont::initialize() QString sample; if ( ttmp != -1 ) { -#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) +#if defined(TQT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS) // use the reentrant versions of localtime() where available tm res; tt = localtime_r( &ttmp, &res ); #else tt = localtime( &ttmp ); -#endif // QT_THREAD_SUPPORT && _POSIX_THREAD_SAFE_FUNCTIONS +#endif // TQT_THREAD_SUPPORT && _POSIX_THREAD_SAFE_FUNCTIONS if ( tt != 0 && strftime( samp, 64, "%A%B", tt ) > 0 ) if ( codec ) -- cgit v1.2.3