summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-03-12 01:44:05 +0300
committerAlexander Golubev <fatzer2@gmail.com>2024-03-14 00:11:47 +0300
commit558bc78e5b4a4d78a3e430c84d790eaa0615fe5e (patch)
tree9e53703045559b095d5389cfc778a2091bc2f6c9
parentf7642b09c9e61f71e434aeb0ceb330d2ccaa25db (diff)
downloadtqt3-558bc78e5b4a4d78a3e430c84d790eaa0615fe5e.tar.gz
tqt3-558bc78e5b4a4d78a3e430c84d790eaa0615fe5e.zip
TQT_THREAD_SUPPORT->!TQT_NO_THREAD: update mkspecs
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
-rw-r--r--mkspecs/aix-g++-64/qplatformdefs.h2
-rw-r--r--mkspecs/aix-g++/qplatformdefs.h2
-rw-r--r--mkspecs/aix-xlc-64/qplatformdefs.h2
-rw-r--r--mkspecs/aix-xlc/qplatformdefs.h2
-rw-r--r--mkspecs/bsdi-g++/qplatformdefs.h2
-rw-r--r--mkspecs/cygwin-g++/qplatformdefs.h2
-rw-r--r--mkspecs/darwin-g++/qplatformdefs.h2
-rw-r--r--mkspecs/dgux-g++/qplatformdefs.h2
-rw-r--r--mkspecs/dilos-g++/qplatformdefs.h2
-rw-r--r--mkspecs/freebsd-clang/qplatformdefs.h2
-rw-r--r--mkspecs/freebsd-g++/qplatformdefs.h2
-rw-r--r--mkspecs/freebsd-icc/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-acc-64/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-acc-o64/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-acc/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-cc/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-g++-64/qplatformdefs.h2
-rw-r--r--mkspecs/hpux-g++/qplatformdefs.h2
-rw-r--r--mkspecs/hpuxi-acc-32/qplatformdefs.h2
-rw-r--r--mkspecs/hpuxi-acc-64/qplatformdefs.h2
-rw-r--r--mkspecs/hurd-g++/qplatformdefs.h2
-rw-r--r--mkspecs/irix-cc-64/qplatformdefs.h2
-rw-r--r--mkspecs/irix-cc-o32/qplatformdefs.h2
-rw-r--r--mkspecs/irix-cc/qplatformdefs.h2
-rw-r--r--mkspecs/irix-g++/qplatformdefs.h2
-rw-r--r--mkspecs/linux-clang/qplatformdefs.h2
-rw-r--r--mkspecs/linux-cxx/qplatformdefs.h2
-rw-r--r--mkspecs/linux-ecc-64/qplatformdefs.h2
-rw-r--r--mkspecs/linux-g++-32/qplatformdefs.h2
-rw-r--r--mkspecs/linux-g++-64/qplatformdefs.h2
-rw-r--r--mkspecs/linux-g++-sparc/qplatformdefs.h2
-rw-r--r--mkspecs/linux-g++/qplatformdefs.h2
-rw-r--r--mkspecs/linux-icc/qplatformdefs.h2
-rw-r--r--mkspecs/linux-kcc/qplatformdefs.h2
-rw-r--r--mkspecs/linux-kylix/qplatformdefs.h2
-rw-r--r--mkspecs/linux-pgcc/qplatformdefs.h2
-rw-r--r--mkspecs/lynxos-g++/qplatformdefs.h2
-rw-r--r--mkspecs/macx-g++/qplatformdefs.h2
-rw-r--r--mkspecs/macx-mwerks/qplatformdefs.h2
-rw-r--r--mkspecs/macx-pbuilder/qplatformdefs.h2
-rw-r--r--mkspecs/macx-xlc/qplatformdefs.h2
-rw-r--r--mkspecs/netbsd-g++/qplatformdefs.h2
-rw-r--r--mkspecs/openbsd-g++/qplatformdefs.h2
-rw-r--r--mkspecs/qnx-g++/qplatformdefs.h2
-rw-r--r--mkspecs/reliant-cds-64/qplatformdefs.h2
-rw-r--r--mkspecs/reliant-cds/qplatformdefs.h2
-rw-r--r--mkspecs/sco-cc/qplatformdefs.h2
-rw-r--r--mkspecs/sco-g++/qplatformdefs.h2
-rw-r--r--mkspecs/solaris-cc-64/qplatformdefs.h2
-rw-r--r--mkspecs/solaris-cc/qplatformdefs.h2
-rw-r--r--mkspecs/solaris-g++-64/qplatformdefs.h2
-rw-r--r--mkspecs/solaris-g++/qplatformdefs.h2
-rw-r--r--mkspecs/tru64-cxx/qplatformdefs.h2
-rw-r--r--mkspecs/tru64-g++/qplatformdefs.h2
-rw-r--r--mkspecs/unixware-cc/qplatformdefs.h2
-rw-r--r--mkspecs/unixware-g++/qplatformdefs.h2
56 files changed, 56 insertions, 56 deletions
diff --git a/mkspecs/aix-g++-64/qplatformdefs.h b/mkspecs/aix-g++-64/qplatformdefs.h
index c141ea519..d603621cd 100644
--- a/mkspecs/aix-g++-64/qplatformdefs.h
+++ b/mkspecs/aix-g++-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
// uncomment if you have problems with <sys/proc.h> because your gcc
// hasn't been built on exactly the same OS version your are using now.
// typedef int crid_t;
diff --git a/mkspecs/aix-g++/qplatformdefs.h b/mkspecs/aix-g++/qplatformdefs.h
index e2d4e43fa..e97ee67d6 100644
--- a/mkspecs/aix-g++/qplatformdefs.h
+++ b/mkspecs/aix-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
// uncomment if you have problems with <sys/proc.h> because your gcc
// hasn't been built on exactly the same OS version your are using now.
// typedef int crid_t;
diff --git a/mkspecs/aix-xlc-64/qplatformdefs.h b/mkspecs/aix-xlc-64/qplatformdefs.h
index 5daec24ba..ffa52d445 100644
--- a/mkspecs/aix-xlc-64/qplatformdefs.h
+++ b/mkspecs/aix-xlc-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/aix-xlc/qplatformdefs.h b/mkspecs/aix-xlc/qplatformdefs.h
index 6e27328f8..207309e9d 100644
--- a/mkspecs/aix-xlc/qplatformdefs.h
+++ b/mkspecs/aix-xlc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/bsdi-g++/qplatformdefs.h b/mkspecs/bsdi-g++/qplatformdefs.h
index fad1e16a4..84c681ae6 100644
--- a/mkspecs/bsdi-g++/qplatformdefs.h
+++ b/mkspecs/bsdi-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/cygwin-g++/qplatformdefs.h b/mkspecs/cygwin-g++/qplatformdefs.h
index 2df16d923..f57d78a3a 100644
--- a/mkspecs/cygwin-g++/qplatformdefs.h
+++ b/mkspecs/cygwin-g++/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/darwin-g++/qplatformdefs.h b/mkspecs/darwin-g++/qplatformdefs.h
index e2e383dc7..536d7fb3d 100644
--- a/mkspecs/darwin-g++/qplatformdefs.h
+++ b/mkspecs/darwin-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/dgux-g++/qplatformdefs.h b/mkspecs/dgux-g++/qplatformdefs.h
index 50c266b1b..996de4065 100644
--- a/mkspecs/dgux-g++/qplatformdefs.h
+++ b/mkspecs/dgux-g++/qplatformdefs.h
@@ -18,7 +18,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/dilos-g++/qplatformdefs.h b/mkspecs/dilos-g++/qplatformdefs.h
index 48c666ac1..736c30be2 100644
--- a/mkspecs/dilos-g++/qplatformdefs.h
+++ b/mkspecs/dilos-g++/qplatformdefs.h
@@ -16,7 +16,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/freebsd-clang/qplatformdefs.h b/mkspecs/freebsd-clang/qplatformdefs.h
index 17075a738..f181df80c 100644
--- a/mkspecs/freebsd-clang/qplatformdefs.h
+++ b/mkspecs/freebsd-clang/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/freebsd-g++/qplatformdefs.h b/mkspecs/freebsd-g++/qplatformdefs.h
index 5f8a8adda..c22fe0bc4 100644
--- a/mkspecs/freebsd-g++/qplatformdefs.h
+++ b/mkspecs/freebsd-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/freebsd-icc/qplatformdefs.h b/mkspecs/freebsd-icc/qplatformdefs.h
index 5f8a8adda..c22fe0bc4 100644
--- a/mkspecs/freebsd-icc/qplatformdefs.h
+++ b/mkspecs/freebsd-icc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-acc-64/qplatformdefs.h b/mkspecs/hpux-acc-64/qplatformdefs.h
index f0d2d1ed6..805dc8859 100644
--- a/mkspecs/hpux-acc-64/qplatformdefs.h
+++ b/mkspecs/hpux-acc-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-acc-o64/qplatformdefs.h b/mkspecs/hpux-acc-o64/qplatformdefs.h
index cff4a8bbf..49f6851c6 100644
--- a/mkspecs/hpux-acc-o64/qplatformdefs.h
+++ b/mkspecs/hpux-acc-o64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-acc/qplatformdefs.h b/mkspecs/hpux-acc/qplatformdefs.h
index 1a7500979..88706fc08 100644
--- a/mkspecs/hpux-acc/qplatformdefs.h
+++ b/mkspecs/hpux-acc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-cc/qplatformdefs.h b/mkspecs/hpux-cc/qplatformdefs.h
index 956fd05d5..5249240ff 100644
--- a/mkspecs/hpux-cc/qplatformdefs.h
+++ b/mkspecs/hpux-cc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-g++-64/qplatformdefs.h b/mkspecs/hpux-g++-64/qplatformdefs.h
index f0d2d1ed6..805dc8859 100644
--- a/mkspecs/hpux-g++-64/qplatformdefs.h
+++ b/mkspecs/hpux-g++-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpux-g++/qplatformdefs.h b/mkspecs/hpux-g++/qplatformdefs.h
index ce22db0d6..6070af203 100644
--- a/mkspecs/hpux-g++/qplatformdefs.h
+++ b/mkspecs/hpux-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpuxi-acc-32/qplatformdefs.h b/mkspecs/hpuxi-acc-32/qplatformdefs.h
index cff4a8bbf..49f6851c6 100644
--- a/mkspecs/hpuxi-acc-32/qplatformdefs.h
+++ b/mkspecs/hpuxi-acc-32/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hpuxi-acc-64/qplatformdefs.h b/mkspecs/hpuxi-acc-64/qplatformdefs.h
index cff4a8bbf..49f6851c6 100644
--- a/mkspecs/hpuxi-acc-64/qplatformdefs.h
+++ b/mkspecs/hpuxi-acc-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h
index 51de25a52..05f109b21 100644
--- a/mkspecs/hurd-g++/qplatformdefs.h
+++ b/mkspecs/hurd-g++/qplatformdefs.h
@@ -16,7 +16,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/irix-cc-64/qplatformdefs.h b/mkspecs/irix-cc-64/qplatformdefs.h
index 0606b7ace..64a6d1b77 100644
--- a/mkspecs/irix-cc-64/qplatformdefs.h
+++ b/mkspecs/irix-cc-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/irix-cc-o32/qplatformdefs.h b/mkspecs/irix-cc-o32/qplatformdefs.h
index a2a3bd868..4a0bf132c 100644
--- a/mkspecs/irix-cc-o32/qplatformdefs.h
+++ b/mkspecs/irix-cc-o32/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/irix-cc/qplatformdefs.h b/mkspecs/irix-cc/qplatformdefs.h
index 0606b7ace..64a6d1b77 100644
--- a/mkspecs/irix-cc/qplatformdefs.h
+++ b/mkspecs/irix-cc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/irix-g++/qplatformdefs.h b/mkspecs/irix-g++/qplatformdefs.h
index 655a0a183..020997910 100644
--- a/mkspecs/irix-g++/qplatformdefs.h
+++ b/mkspecs/irix-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-clang/qplatformdefs.h b/mkspecs/linux-clang/qplatformdefs.h
index c770770f3..8960821e2 100644
--- a/mkspecs/linux-clang/qplatformdefs.h
+++ b/mkspecs/linux-clang/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-cxx/qplatformdefs.h b/mkspecs/linux-cxx/qplatformdefs.h
index d2267da05..181c54412 100644
--- a/mkspecs/linux-cxx/qplatformdefs.h
+++ b/mkspecs/linux-cxx/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-ecc-64/qplatformdefs.h b/mkspecs/linux-ecc-64/qplatformdefs.h
index d2267da05..181c54412 100644
--- a/mkspecs/linux-ecc-64/qplatformdefs.h
+++ b/mkspecs/linux-ecc-64/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-g++-32/qplatformdefs.h b/mkspecs/linux-g++-32/qplatformdefs.h
index c770770f3..8960821e2 100644
--- a/mkspecs/linux-g++-32/qplatformdefs.h
+++ b/mkspecs/linux-g++-32/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-g++-64/qplatformdefs.h b/mkspecs/linux-g++-64/qplatformdefs.h
index c770770f3..8960821e2 100644
--- a/mkspecs/linux-g++-64/qplatformdefs.h
+++ b/mkspecs/linux-g++-64/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-g++-sparc/qplatformdefs.h b/mkspecs/linux-g++-sparc/qplatformdefs.h
index c770770f3..8960821e2 100644
--- a/mkspecs/linux-g++-sparc/qplatformdefs.h
+++ b/mkspecs/linux-g++-sparc/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-g++/qplatformdefs.h b/mkspecs/linux-g++/qplatformdefs.h
index c770770f3..8960821e2 100644
--- a/mkspecs/linux-g++/qplatformdefs.h
+++ b/mkspecs/linux-g++/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-icc/qplatformdefs.h b/mkspecs/linux-icc/qplatformdefs.h
index d2267da05..181c54412 100644
--- a/mkspecs/linux-icc/qplatformdefs.h
+++ b/mkspecs/linux-icc/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-kcc/qplatformdefs.h b/mkspecs/linux-kcc/qplatformdefs.h
index 606a9dad1..4de42d069 100644
--- a/mkspecs/linux-kcc/qplatformdefs.h
+++ b/mkspecs/linux-kcc/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-kylix/qplatformdefs.h b/mkspecs/linux-kylix/qplatformdefs.h
index d2267da05..181c54412 100644
--- a/mkspecs/linux-kylix/qplatformdefs.h
+++ b/mkspecs/linux-kylix/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/linux-pgcc/qplatformdefs.h b/mkspecs/linux-pgcc/qplatformdefs.h
index d2267da05..181c54412 100644
--- a/mkspecs/linux-pgcc/qplatformdefs.h
+++ b/mkspecs/linux-pgcc/qplatformdefs.h
@@ -15,7 +15,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/lynxos-g++/qplatformdefs.h b/mkspecs/lynxos-g++/qplatformdefs.h
index 9418b263e..953955157 100644
--- a/mkspecs/lynxos-g++/qplatformdefs.h
+++ b/mkspecs/lynxos-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/macx-g++/qplatformdefs.h b/mkspecs/macx-g++/qplatformdefs.h
index 514474e0e..e3691c7f6 100644
--- a/mkspecs/macx-g++/qplatformdefs.h
+++ b/mkspecs/macx-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/macx-mwerks/qplatformdefs.h b/mkspecs/macx-mwerks/qplatformdefs.h
index bb77570a7..8052ef43a 100644
--- a/mkspecs/macx-mwerks/qplatformdefs.h
+++ b/mkspecs/macx-mwerks/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/macx-pbuilder/qplatformdefs.h b/mkspecs/macx-pbuilder/qplatformdefs.h
index 514474e0e..e3691c7f6 100644
--- a/mkspecs/macx-pbuilder/qplatformdefs.h
+++ b/mkspecs/macx-pbuilder/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/macx-xlc/qplatformdefs.h b/mkspecs/macx-xlc/qplatformdefs.h
index 514474e0e..e3691c7f6 100644
--- a/mkspecs/macx-xlc/qplatformdefs.h
+++ b/mkspecs/macx-xlc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/netbsd-g++/qplatformdefs.h b/mkspecs/netbsd-g++/qplatformdefs.h
index f0e72f190..6f3d17625 100644
--- a/mkspecs/netbsd-g++/qplatformdefs.h
+++ b/mkspecs/netbsd-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/openbsd-g++/qplatformdefs.h b/mkspecs/openbsd-g++/qplatformdefs.h
index 5dea7a473..f878d4f8f 100644
--- a/mkspecs/openbsd-g++/qplatformdefs.h
+++ b/mkspecs/openbsd-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/qnx-g++/qplatformdefs.h b/mkspecs/qnx-g++/qplatformdefs.h
index 9ce955a6c..a32b71504 100644
--- a/mkspecs/qnx-g++/qplatformdefs.h
+++ b/mkspecs/qnx-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/reliant-cds-64/qplatformdefs.h b/mkspecs/reliant-cds-64/qplatformdefs.h
index 29392edab..ffbbf0065 100644
--- a/mkspecs/reliant-cds-64/qplatformdefs.h
+++ b/mkspecs/reliant-cds-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/reliant-cds/qplatformdefs.h b/mkspecs/reliant-cds/qplatformdefs.h
index c4aa26d8d..414fa9039 100644
--- a/mkspecs/reliant-cds/qplatformdefs.h
+++ b/mkspecs/reliant-cds/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/sco-cc/qplatformdefs.h b/mkspecs/sco-cc/qplatformdefs.h
index 3c9348c22..a122ad848 100644
--- a/mkspecs/sco-cc/qplatformdefs.h
+++ b/mkspecs/sco-cc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/sco-g++/qplatformdefs.h b/mkspecs/sco-g++/qplatformdefs.h
index 189b69daa..a7badfbfe 100644
--- a/mkspecs/sco-g++/qplatformdefs.h
+++ b/mkspecs/sco-g++/qplatformdefs.h
@@ -18,7 +18,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/solaris-cc-64/qplatformdefs.h b/mkspecs/solaris-cc-64/qplatformdefs.h
index 918e1bf31..1dfc275a8 100644
--- a/mkspecs/solaris-cc-64/qplatformdefs.h
+++ b/mkspecs/solaris-cc-64/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/solaris-cc/qplatformdefs.h b/mkspecs/solaris-cc/qplatformdefs.h
index 8a54d9b34..3d821682f 100644
--- a/mkspecs/solaris-cc/qplatformdefs.h
+++ b/mkspecs/solaris-cc/qplatformdefs.h
@@ -14,7 +14,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/solaris-g++-64/qplatformdefs.h b/mkspecs/solaris-g++-64/qplatformdefs.h
index ba496f22b..99f65a79c 100644
--- a/mkspecs/solaris-g++-64/qplatformdefs.h
+++ b/mkspecs/solaris-g++-64/qplatformdefs.h
@@ -16,7 +16,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/solaris-g++/qplatformdefs.h b/mkspecs/solaris-g++/qplatformdefs.h
index 9be7b84e0..9f153124b 100644
--- a/mkspecs/solaris-g++/qplatformdefs.h
+++ b/mkspecs/solaris-g++/qplatformdefs.h
@@ -16,7 +16,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/tru64-cxx/qplatformdefs.h b/mkspecs/tru64-cxx/qplatformdefs.h
index 24d8153f1..0f8fa7268 100644
--- a/mkspecs/tru64-cxx/qplatformdefs.h
+++ b/mkspecs/tru64-cxx/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/tru64-g++/qplatformdefs.h b/mkspecs/tru64-g++/qplatformdefs.h
index e355e9f4c..347c26a62 100644
--- a/mkspecs/tru64-g++/qplatformdefs.h
+++ b/mkspecs/tru64-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/unixware-cc/qplatformdefs.h b/mkspecs/unixware-cc/qplatformdefs.h
index 3c9348c22..a122ad848 100644
--- a/mkspecs/unixware-cc/qplatformdefs.h
+++ b/mkspecs/unixware-cc/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif
diff --git a/mkspecs/unixware-g++/qplatformdefs.h b/mkspecs/unixware-g++/qplatformdefs.h
index 3c9348c22..a122ad848 100644
--- a/mkspecs/unixware-g++/qplatformdefs.h
+++ b/mkspecs/unixware-g++/qplatformdefs.h
@@ -13,7 +13,7 @@
// We are hot - unistd.h should have turned on the specific APIs we requested
-#ifdef TQT_THREAD_SUPPORT
+#ifndef TQT_NO_THREAD
#include <pthread.h>
#endif