summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qbasicatomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qbasicatomic.h')
-rw-r--r--src/corelib/thread/qbasicatomic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h
index ba9e30b0dc..363a4da338 100644
--- a/src/corelib/thread/qbasicatomic.h
+++ b/src/corelib/thread/qbasicatomic.h
@@ -91,6 +91,10 @@
#elif defined(Q_CC_GNU)
# include <QtCore/qatomic_gcc.h>
+// Fallback operating system dependent implementation
+#elif defined(Q_OS_UNIX)
+# include <QtCore/qatomic_unix.h>
+
// No fallback
#else
# error "Qt has not been ported to this platform"