fix macro parentheses in GC for ALIGN_DOUBLES
svn: r8315
This commit is contained in:
parent
d532fe4781
commit
30c1563cb2
|
@ -442,8 +442,8 @@ static void *allocate_big(size_t sizeb, int type)
|
|||
}
|
||||
|
||||
#ifdef ALIGN_DOUBLES
|
||||
# define ALIGN_SIZE(sizew) ((sizew & 0x1) ? (sizew + 1) : sizew)
|
||||
# define ALIGN_BYTES_SIZE(sizeb) ((sizeb & WORD_SIZE) ? (sizeb + WORD_SIZE) : sizeb)
|
||||
# define ALIGN_SIZE(sizew) (((sizew) & 0x1) ? ((sizew) + 1) : (sizew))
|
||||
# define ALIGN_BYTES_SIZE(sizeb) (((sizeb) & WORD_SIZE) ? ((sizeb) + WORD_SIZE) : (sizeb))
|
||||
#else
|
||||
# define ALIGN_SIZE(sizew) (sizew)
|
||||
# define ALIGN_BYTES_SIZE(sizeb) (sizeb)
|
||||
|
|
Loading…
Reference in New Issue
Block a user