widl: Use DECLSPEC_ALIGN in MSVC compatible way.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d2c736e1ba
commit
4fd8190ef1
|
@ -4816,7 +4816,7 @@ void write_func_param_struct( FILE *file, const type_t *iface, const type_t *fun
|
||||||
if (align >= pointer_size)
|
if (align >= pointer_size)
|
||||||
fprintf( file, "%s;\n", arg->name );
|
fprintf( file, "%s;\n", arg->name );
|
||||||
else
|
else
|
||||||
fprintf( file, "%s DECLSPEC_ALIGN(%u);\n", arg->name, pointer_size );
|
fprintf( file, "DECLSPEC_ALIGN(%u) %s;\n", pointer_size, arg->name );
|
||||||
}
|
}
|
||||||
if (add_retval && !is_void( retval->declspec.type ))
|
if (add_retval && !is_void( retval->declspec.type ))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue