Closed emmenlau closed 4 years ago
On macOS perhaps machine/endian.h
or libkern/OSByteOrder.h
could be used instead. We also have endian.hpp
in the PEGTL which seems to work everywhere.
I'll take care of it as soon as I find some time.
Thanks @d-frey !
Should be fixed now.
Thanks, I confirm this works on macOS and MSVC!
On MSVC and macOS I get build errors due to missing include
byteswap.h
, i.e.The docs only mention this header on glibc systems. Should I look for a drop-in replacement for other platforms?