gettext: fix build with gcc-14; enhance test environment
[oi-userland.git] / components / encumbered / openscenegraph / patches / OscHostEndianness.h.patch
blob449dca7c323f1f00b58640f967a17dac73b41efd
1 --- OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/osc/osc/OscHostEndianness.h.orig 2022-08-10 16:19:40.415029036 +0000
2 +++ OpenSceneGraph-OpenSceneGraph-3.6.5/src/osgPlugins/osc/osc/OscHostEndianness.h 2022-08-10 16:20:27.584673043 +0000
3 @@ -51,7 +51,7 @@
5 #else
7 - #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__)
8 + #if defined(__GLIBC__) || defined(__ANDROID__) || defined(__CYGWIN__) || ((__sun) && (__SVR4))
9 #include <endian.h>
10 #if (__BYTE_ORDER == __LITTLE_ENDIAN)
11 #ifndef __LITTLE_ENDIAN__