aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorƁukasz Matysiak <[email protected]>2023-08-03 13:51:26 +0200
committerKrzysztof Sommerfeld <[email protected]>2023-08-31 09:20:28 +0000
commitee7f4ec118948d350833ee105ca2a01cc8398bdd (patch)
tree753788e6644c2526965e74a04d62bf4022c2cb52 /src
parent6afb1ec82bdca7a1ea3a7a5e12a3f143962860ea (diff)
vxworks: mark vxworks as unix
this fixes issues related to undeclared identifier systemPageSize systemPageSize is defined in PageBlock.cpp and is guarded by an if that checks if the OS is unix or windows Task-number: QTBUG-115777 Change-Id: I2c71e62b147d9c0d8a64c718a8f8555333feaf3a Reviewed-by: Ulf Hermann <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/masm/wtf/Platform.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/3rdparty/masm/wtf/Platform.h b/src/3rdparty/masm/wtf/Platform.h
index 5c83dec2b9..9dfbb525c2 100644
--- a/src/3rdparty/masm/wtf/Platform.h
+++ b/src/3rdparty/masm/wtf/Platform.h
@@ -443,6 +443,11 @@
#define WTF_OS_RTEMS 1
#endif
+/* OS(VXWORKS) - VXWORKS */
+#if defined(__vxworks)
+#define WTF_OS_VXWORKS 1
+#endif
+
#define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN"
#define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC"
@@ -458,6 +463,7 @@
|| OS(QNX) \
|| OS(RTEMS) \
|| OS(SOLARIS) \
+ || OS(VXWORKS) \
|| defined(unix) \
|| defined(__unix) \
|| defined(__unix__)