src: remove __builtin_bswap16 call
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 15 Dec 2015 11:57:49 +0000 (12:57 +0100)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commit39b25036505fb9c8fa456a250516179a1083797b
tree4c1384899cd60840ac5ae8eda051587491934ea2
parent37ff7c5e573033da7ca87329bdabaeb8275da4e9
src: remove __builtin_bswap16 call

Not supported by apple-gcc and I'm not convinced it's worth adding more
preprocessor hacks when it should be easy as pie for the compiler to
to optimize the byteswap.  If it doesn't, fix the compiler.

Fixes: https://github.com/nodejs/node/issues/4284
PR-URL: https://github.com/nodejs/node/pull/4290
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
src/util-inl.h