summaryrefslogtreecommitdiffstats
path: root/src/kernel/qfont_x11.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-09-16 22:30:57 +0900
committerMichele Calgaro <[email protected]>2018-09-16 22:30:57 +0900
commit02964eb384e1b5a73a198d04262497607d81e38f (patch)
tree56b694b9d973c7906f9960a2029068dc44791c2b /src/kernel/qfont_x11.cpp
parent1fb89fa15488ff396623fc275242b8ed149f4c1e (diff)
downloadtqt3-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/kernel/qfont_x11.cpp')
-rw-r--r--src/kernel/qfont_x11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qfont_x11.cpp b/src/kernel/qfont_x11.cpp
index 9baa6a5cf..6877c9a63 100644
--- a/src/kernel/qfont_x11.cpp
+++ b/src/kernel/qfont_x11.cpp
@@ -269,13 +269,13 @@ void TQFont::initialize()
TQString 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 )