From: Spencer Thomason Date: Fri, 12 Aug 2016 01:42:23 +0000 (-0700) Subject: FS-9424 #resolve Define byte order correctly on Solaris/SPARC X-Git-Tag: v1.6.10~1^2~28^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2febb55761a83d5b295e784056f59238dc4e4754;p=thirdparty%2Ffreeswitch.git FS-9424 #resolve Define byte order correctly on Solaris/SPARC --- diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index 962bf972b3..00909770ee 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -139,6 +139,9 @@ typedef int gid_t; #ifndef __BYTE_ORDER #ifdef SWITCH_BYTE_ORDER #define __BYTE_ORDER SWITCH_BYTE_ORDER +/* solaris */ +#elif defined(_BIG_ENDIAN) +#define __BYTE_ORDER __BIG_ENDIAN #else #define __BYTE_ORDER __LITTLE_ENDIAN #endif