[packages] asterisk-1.8.x: remove mips from word alignment patch
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4253c59cd8
commit
b4b3f73dfc
@ -5,7 +5,7 @@
|
||||
|
||||
result = (*pool_head)->base + (*pool_head)->used;
|
||||
-#ifdef __sparc__
|
||||
+#if defined(__sparc__) || defined(__mips__) || defined(__arm__)
|
||||
+#if defined(__sparc__) || defined(__arm__)
|
||||
/* SPARC requires that the allocation field be aligned. */
|
||||
if ((long) result % sizeof(ast_string_field_allocation)) {
|
||||
result++;
|
||||
@ -14,7 +14,7 @@
|
||||
} else {
|
||||
target = (*pool_head)->base + (*pool_head)->used + sizeof(ast_string_field_allocation);
|
||||
-#ifdef __sparc__
|
||||
+#if defined(__sparc__) || defined(__mips__) || defined(__arm__)
|
||||
+#if defined(__sparc__) || defined(__arm__)
|
||||
if ((long) target % sizeof(ast_string_field_allocation)) {
|
||||
target++;
|
||||
space--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user