WhiZTiM / UbjsonCpp

A high performance C++14 library for effortlessly reading and writing UBJSON
24 stars 11 forks source link

Support for systems without <endian.h> #8

Open tnovotny opened 6 years ago

tnovotny commented 6 years ago

Many operating systems do not have an <endian.h> file. This is used in stream_helpers.hpp. Consider adding a portable file

WhiZTiM commented 6 years ago

@tnovotny. Awesome! Thanks! I will do it over this weekend (and other changes/improvements). However, if you could make a pull request for this applying this endian portability changes, I will happily merge right away!

-Timothy