summaryrefslogtreecommitdiffstats
path: root/src/tools/qlocale.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-12 01:19:14 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-14 00:11:47 +0300
commitf7642b09c9e61f71e434aeb0ceb330d2ccaa25db (patch)
tree24caf3ca34bc91f4c3ea20b8fc436fdd71c44925 /src/tools/qlocale.cpp
parentfa4475f36d6404a70d760ca95ac6a986a8846a3f (diff)
downloadtqt-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.tar.gz
tqt-f7642b09c9e61f71e434aeb0ceb330d2ccaa25db.zip
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: migrate sources
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/tools/qlocale.cpp')
-rw-r--r--src/tools/qlocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qlocale.cpp b/src/tools/qlocale.cpp
index 0714dbb88..681c07734 100644
--- a/src/tools/qlocale.cpp
+++ b/src/tools/qlocale.cpp
@@ -3244,7 +3244,7 @@ TQString TQLocalePrivate::doubleToString(double d,
TQString digits;
#ifdef QT_QLOCALE_USES_FCVT
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
static bool dummy_for_mutex;
TQMutex *fcvt_mutex = tqt_global_mutexpool ? tqt_global_mutexpool->get( &dummy_for_mutex ) : 0;
# define FCVT_LOCK if (fcvt_mutex) fcvt_mutex->lock()