Differential D12063 Diff 32168 head/www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_WebKit_Source_wtf_ByteSwap.h
Changeset View
Changeset View
Standalone View
Standalone View
head/www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_WebKit_Source_wtf_ByteSwap.h
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/WebKit/Source/wtf/ByteSwap.h.orig 2017-04-11 14:08:45 UTC | |||||
+++ src/3rdparty/chromium/third_party/WebKit/Source/wtf/ByteSwap.h | |||||
@@ -52,9 +52,15 @@ ALWAYS_INLINE uint16_t bswap16(uint16_t x) { return _b | |||||
#else | |||||
+#ifndef bswap64 | |||||
ALWAYS_INLINE uint64_t bswap64(uint64_t x) { return __builtin_bswap64(x); } | |||||
+#endif | |||||
+#ifndef bswap32 | |||||
ALWAYS_INLINE uint32_t bswap32(uint32_t x) { return __builtin_bswap32(x); } | |||||
+#endif | |||||
+#ifndef bswap16 | |||||
ALWAYS_INLINE uint16_t bswap16(uint16_t x) { return __builtin_bswap16(x); } | |||||
+#endif | |||||
#endif | |||||