mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
Merge pull request #926 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-9424-__byte_order-macro-not-defined-correctly to master
* commit '2febb55761a83d5b295e784056f59238dc4e4754': FS-9424 #resolve Define byte order correctly on Solaris/SPARC
This commit is contained in:
commit
dc4ae1f700
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user