diff --git a/kernel/trunk/kernel32.inc b/kernel/trunk/kernel32.inc index 38872acabb..f04774d5dc 100644 --- a/kernel/trunk/kernel32.inc +++ b/kernel/trunk/kernel32.inc @@ -14,17 +14,20 @@ macro struct name, [arg] { common - name@struct fix name + name@struct equ name struc name arg { } macro struct_helper name { + match xname,name + \{ virtual at 0 - name name - sizeof.#name = $ - name - name equ sizeof.#name + xname xname + sizeof.#xname = $ - xname + name equ sizeof.#xname end virtual + \} } ends fix } struct_helper name@struct