mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Add support for Solaris/x86 (bug #3064)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
rtp.c
4
rtp.c
@@ -1170,11 +1170,9 @@ int ast_rtp_sendcng(struct ast_rtp *rtp, int level)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef SOLARIS
|
||||
#if defined(SOLARIS) && defined(__sparc__)
|
||||
static void put_uint32(unsigned char *buf, int i)
|
||||
{
|
||||
unsigned char *c = (unsigned char *)&i;
|
||||
|
||||
buf[0] = (i>>24) & 0xff;
|
||||
buf[1] = (i>>16) & 0xff;
|
||||
buf[2] = (i>>8) & 0xff;
|
||||
|
||||
Reference in New Issue
Block a user