mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Locate endian header on Solaris
This commit is contained in:
parent
18791c8923
commit
ca0a4646e9
@ -32,6 +32,8 @@
|
|||||||
#else
|
#else
|
||||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||||
#include <machine/endian.h>
|
#include <machine/endian.h>
|
||||||
|
#elif defined(sun) || defined(__sun)
|
||||||
|
#include <sys/byteorder.h>
|
||||||
#else
|
#else
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
#endif
|
#endif
|
||||||
@ -337,4 +339,4 @@ inline OStream& operator<<(OStream &out, const fast_float::decimal &d) {
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user