[PATCH 10/11] widl: Set pointer_size according to host's pointer-size.
Alexandre Julliard
julliard at winehq.org
Mon Aug 19 05:52:44 CDT 2013
Kai Tietz <ktietz70 at googlemail.com> writes:
> diff --git a/tools/widl/widl.c b/tools/widl/widl.c
> index 5df99fc..6d8ec87 100644
> --- a/tools/widl/widl.c
> +++ b/tools/widl/widl.c
> @@ -139,7 +139,7 @@ int line_number = 1;
>
> static FILE *idfile;
>
> -unsigned int pointer_size = 0;
> +unsigned int pointer_size = sizeof(void*);
> syskind_t typelib_kind = sizeof(void*) == 8 ? SYS_WIN64 : SYS_WIN32;
This is wrong, the host pointer size shouldn't have any influence on the
generated code.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list