relocate: fix struct array
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1454 c26eb9a1-5813-0410-bd6c-c2e55f420ca7master
parent
11bb4f0d07
commit
02c070d109
|
@ -231,7 +231,11 @@ define(`STRUCT_ARRAY', `
|
|||
`', `', `LOOPCOUNTER < SRC(`$2')');
|
||||
++LOOPCOUNTER) {
|
||||
DISABLECHECK(`
|
||||
STRUCT(`$3', `$4[LOOPCOUNTER]', `$5')
|
||||
pushdef(`ALLOC')
|
||||
pushdef(`FIXPOINTER_EX')
|
||||
STRUCT_P_EX(`$3', (DST(`$4') + LOOPCOUNTER), (SRC(`$4') + LOOPCOUNTER), `', `$5')
|
||||
popdef(`FIXPOINTER_EX')
|
||||
popdef(`ALLOC')
|
||||
')
|
||||
}
|
||||
dnl the end marker
|
||||
|
|
Loading…
Reference in New Issue