summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqglobal.h
diff options
context:
space:
mode:
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)