summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-08-02 19:41:37 +0000
committerBenny Prijono <bennylp@teluu.com>2006-08-02 19:41:37 +0000
commit2a4656699b9fc1bc03ffb5723aa3da0cc1ba88c3 (patch)
treefe0650e2366e7853437bcae768049ddf335d1338 /pjlib
parent2c5b8f5dca277dd3fee1ab1298bb0b2308372eae (diff)
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
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/config.h14
1 files changed, 8 insertions, 6 deletions
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."