[1/2] oledb32: Correct DataLinks interface for win64
Alexandre Julliard
julliard at winehq.org
Fri Sep 20 04:12:46 CDT 2013
Alistair Leslie-Hughes <leslie_alistair at hotmail.com> writes:
> @@ -26,6 +26,20 @@ import "oledb.idl";
> #define vi_progid(str)
> #endif
>
> +#ifdef _WIN64
> +cpp_quote("#ifdef _WIN64")
> + typedef LONGLONG COMPATIBLE_LONG;
> +cpp_quote("#else")
> +cpp_quote(" typedef LONG COMPATIBLE_LONG;")
> +cpp_quote("#endif")
> +#else
> +cpp_quote("#ifdef _WIN64")
> +cpp_quote(" typedef LONGLONG COMPATIBLE_LONG;")
> +cpp_quote("#else")
> + typedef LONG COMPATIBLE_LONG;
> +cpp_quote("#endif")
> +#endif
You can't do that, _WIN64 is not meaningful in idl.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list