From 4fd8190ef1ba37c22904ccb499aea32cc6c0c0a3 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 20 Apr 2020 20:19:59 +0200 Subject: [PATCH] widl: Use DECLSPEC_ALIGN in MSVC compatible way. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- tools/widl/typegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 9b8aa1a3229..a1db88a7c09 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -4816,7 +4816,7 @@ void write_func_param_struct( FILE *file, const type_t *iface, const type_t *fun if (align >= pointer_size) fprintf( file, "%s;\n", arg->name ); 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 )) { -- 2.11.4.GIT