summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-11 21:20:42 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-14 00:11:47 +0300
commitfa4475f36d6404a70d760ca95ac6a986a8846a3f (patch)
tree9e9094c93f1051700062407ae417b3f29ec546b5 /src/tools/ntqglobal.h
parent3ee3f6480fd72a586e45e7e7eb9dc1990779a851 (diff)
downloadtqt-fa4475f36d6404a70d760ca95ac6a986a8846a3f.tar.gz
tqt-fa4475f36d6404a70d760ca95ac6a986a8846a3f.zip
Initial conversion for TQT_THREAD_SUPPORT->!TQT_NO_THREAD
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'src/tools/ntqglobal.h')
-rw-r--r--src/tools/ntqglobal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/ntqglobal.h b/src/tools/ntqglobal.h
index f83da9d79..4805869a8 100644
--- a/src/tools/ntqglobal.h
+++ b/src/tools/ntqglobal.h
@@ -822,6 +822,12 @@ class TQString;
#include "ntqfeatures.h"
#endif /* QT_H */
+// Keep the old flag for thread support in sync with the new one
+#ifndef TQT_NO_THREAD
+# define TQT_THREAD_SUPPORT
+#else
+# undef TQT_THREAD_SUPPORT
+#endif
//
// Create TQt DLL if QT_DLL is defined (Windows only)