summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Svetkin <mikhail.svetkin@qt.io>2019-06-11 15:06:26 +0200
committerMikhail Svetkin <mikhail.svetkin@qt.io>2019-06-30 23:34:55 +0200
commit889b44043ee92f77c6bb21abff556688354193d2 (patch)
treed10b133b4a1afead9dc648056d71d156d9b42550
parent98f7df211464c79266e643a552d17067dd2b6c56 (diff)
rtems: Fix build 3rdparty/sha3
RTEMS does not have byteswap.h Change-Id: I37222ba4edb7338600f7c902819440feadc03a63 Reviewed-by: Ryan Chu <ryan.chu@qt.io>
-rw-r--r--src/3rdparty/sha3/brg_endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/sha3/brg_endian.h b/src/3rdparty/sha3/brg_endian.h
index 09d2a8b6a9..9bb306e678 100644
--- a/src/3rdparty/sha3/brg_endian.h
+++ b/src/3rdparty/sha3/brg_endian.h
@@ -42,7 +42,7 @@ Changes for ARM 9/9/2010 [Downstream relative to Gladman's GitHub, upstream to Q
#elif defined( __linux__ ) || defined( __GNUC__ ) || defined( __GNU_LIBRARY__ )
# if !defined( __MINGW32__ ) && !defined( _AIX ) && !defined(Q_OS_QNX)
# include <endian.h>
-# if !defined( __BEOS__ )
+# if !defined( __BEOS__ ) && !defined(Q_OS_RTEMS)
# include <byteswap.h>
# endif
# endif