[2/6] dbghelp: Don't define 32-bit module handling functions in Win64.

Alexandre Julliard julliard at winehq.org
Fri Mar 6 05:50:41 CST 2009


Mike Ruprecht <cmaiku at gmail.com> writes:

> diff --git a/dlls/dbghelp/module.c b/dlls/dbghelp/module.c
> index fcdea2e..4b6c3d6 100644
> --- a/dlls/dbghelp/module.c
> +++ b/dlls/dbghelp/module.c
> @@ -438,6 +438,7 @@ enum module_type module_get_type_by_name(const WCHAR* name)
>      return DMT_PE;
>  }
>  
> +#if defined(_IMAGEHLP_SOURCE_) || !defined(_IMAGEHLP64)

It doesn't make sense to test for these defines in the source. You
probably want #ifndef _WIN64.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list