source: packages/net/asterisk-1.8.x/patches/300-word_alignment_arm.patch @ 28462

Last change on this file since 28462 was 28462, checked in by zandbelt, 5 years ago

[packages] asterisk-1.8.x: update to 1.8.7.0, add requested modules #10230, patch gtalk #10235, refresh patches

File size: 719 bytes
  • main/utils.c

    a b ast_string_field __ast_string_field_allo 
    16661666        } 
    16671667 
    16681668        result = (*pool_head)->base + (*pool_head)->used; 
    1669 #ifdef __sparc__ 
     1669#if defined(__sparc__) || defined(__mips__) || defined(__arm__) 
    16701670        /* SPARC requires that the allocation field be aligned. */ 
    16711671        if ((long) result % sizeof(ast_string_field_allocation)) { 
    16721672                result++; 
    void __ast_string_field_ptr_build_va(str 
    17471747                } 
    17481748        } else { 
    17491749                target = (*pool_head)->base + (*pool_head)->used + sizeof(ast_string_field_allocation); 
    1750 #ifdef __sparc__ 
     1750#if defined(__sparc__) || defined(__mips__) || defined(__arm__) 
    17511751                if ((long) target % sizeof(ast_string_field_allocation)) { 
    17521752                        target++; 
    17531753                        space--; 
Note: See TracBrowser for help on using the repository browser.