From 21676c4db0634c8b94383359c950000b3da84687 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 12 Feb 2013 15:40:21 +0000 Subject: [PATCH] From Jordi Torres, fix for Android build --- src/osgPlugins/osc/osc/OscHostEndianness.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/osc/osc/OscHostEndianness.h b/src/osgPlugins/osc/osc/OscHostEndianness.h index 25bbfb644..569e025d3 100644 --- a/src/osgPlugins/osc/osc/OscHostEndianness.h +++ b/src/osgPlugins/osc/osc/OscHostEndianness.h @@ -51,7 +51,7 @@ #else - #if defined(__GLIBC__) + #if defined(__GLIBC__) || defined(__ANDROID__) #include #if (__BYTE_ORDER == __LITTLE_ENDIAN) #define __LITTLE_ENDIAN__