mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 07:35:18 +00:00
FreeBSD compatability fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -36,6 +36,10 @@ extern "C" {
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif /* __LITTLE_ENDIAN */
|
||||
|
||||
#if (defined(i386))
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif /* defined i386 */
|
||||
|
||||
#if (defined(sun) && defined(unix) && defined(sparc))
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
||||
#endif /* sun unix sparc */
|
||||
|
Reference in New Issue
Block a user