From 2a4656699b9fc1bc03ffb5723aa3da0cc1ba88c3 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 2 Aug 2006 19:41:37 +0000 Subject: Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'pjlib') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 7edcdcfa..c9025196 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -172,17 +172,19 @@ # define PJ_IS_BIG_ENDIAN 0 -#elif defined(PJ_M_MIPS) || defined(__mips__) || defined(__mips) || \\ +#elif defined(PJ_M_MIPS) || defined(__mips__) || defined(__mips) || \ defined(__MIPS__) || defined(MIPS) || defined(_MIPS_) /* - * MIPS, little endian + * MIPS, default to little endian */ # undef PJ_M_MIPS # define PJ_M_MIPS 1 # define PJ_M_NAME "mips" # define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 +# if !defined(PJ_IS_LITTLE_ENDIAN) && !defined(PJ_IS_BIG_ENDIAN) +# define PJ_IS_LITTLE_ENDIAN 1 +# define PJ_IS_BIG_ENDIAN 0 +# endif #elif defined (PJ_M_SPARC) || defined( __sparc__) || defined(__sparc) @@ -220,8 +222,8 @@ # define PJ_M_POWERPC 1 # define PJ_M_NAME "powerpc" # define PJ_HAS_PENTIUM 0 -# define PJ_IS_LITTLE_ENDIAN 1 -# define PJ_IS_BIG_ENDIAN 0 +# define PJ_IS_LITTLE_ENDIAN 0 +# define PJ_IS_BIG_ENDIAN 1 #else # error "Please specify target machine." -- cgit v1.2.3