mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Merge slimey's Solaris compatibility (with small mods) (bug #2740)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -27,8 +27,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define RATE_40 0
|
||||
#define RATE_32 1
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
#include "msgsm.h"
|
||||
|
||||
/* Some Ideas for this code came from makegsme.c by Jeffrey Chilton */
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Some Ideas for this code came from makeh263e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -30,8 +30,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -30,8 +30,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
static char *desc = "JPEG (Joint Picture Experts Group) Image Format";
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BUF_SIZE 160 /* 160 samples */
|
||||
|
||||
|
@@ -30,8 +30,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BUF_SIZE 160 /* 160 samples */
|
||||
|
||||
|
@@ -26,8 +26,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BUF_SIZE 320 /* 320 samples */
|
||||
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BUF_SIZE 80 /* 160 samples */
|
||||
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -28,8 +28,12 @@
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#ifdef SOLARIS
|
||||
#include "solaris-compat/compat.h"
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#endif
|
||||
#include "msgsm.h"
|
||||
|
||||
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
|
||||
|
Reference in New Issue
Block a user