Commit 39b25036 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Myles Borins
Browse files

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: default avatarColin Ihrig <cjihrig@gmail.com>
parent 37ff7c5e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment