Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_smhasher_src_City.cpp
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_smhasher_src_City.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/3rdparty/chromium/third_party/smhasher/src/City.cpp.orig 2019-10-27 22:10:58.672918000 +0100 | |||||
+++ src/3rdparty/chromium/third_party/smhasher/src/City.cpp 2019-10-27 22:12:39.653255000 +0100 | |||||
@@ -65,11 +65,11 @@ | |||||
#define bswap_64(x) OSSwapInt64(x) | |||||
#else | |||||
-#include <byteswap.h> | |||||
+#include <sys/endian.h> | |||||
#endif | |||||
-#define uint32_in_expected_order(x) (bswap_32(x)) | |||||
-#define uint64_in_expected_order(x) (bswap_64(x)) | |||||
+#define uint32_in_expected_order(x) (bswap32(x)) | |||||
+#define uint64_in_expected_order(x) (bswap64(x)) | |||||
#endif // __BIG_ENDIAN__ | |||||