Merge pull request #59 from nealrichardson/patch-1

Locate endian header on Solaris
This commit is contained in:
Daniel Lemire 2021-02-17 16:55:15 -05:00 committed by GitHub
commit e0bd573530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,8 @@
#else
#if defined(__APPLE__) || defined(__FreeBSD__)
#include <machine/endian.h>
#elif defined(sun) || defined(__sun)
#include <sys/byteorder.h>
#else
#include <endian.h>
#endif
@ -337,4 +339,4 @@ inline OStream& operator<<(OStream &out, const fast_float::decimal &d) {
return out;
}
#endif
#endif