wtypes.idl: Support OLESTR macro with non-native wchar_t.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c120890396
commit
3bc14e79eb
|
@ -287,7 +287,11 @@ typedef WCHAR OLECHAR;
|
||||||
typedef [string] OLECHAR *LPOLESTR;
|
typedef [string] OLECHAR *LPOLESTR;
|
||||||
typedef [string] const OLECHAR *LPCOLESTR;
|
typedef [string] const OLECHAR *LPCOLESTR;
|
||||||
cpp_quote("#ifndef __WINESRC__")
|
cpp_quote("#ifndef __WINESRC__")
|
||||||
cpp_quote("#define OLESTR(str) L##str")
|
cpp_quote("# ifdef WINE_UNICODE_NATIVE")
|
||||||
|
cpp_quote("# define OLESTR(str) L##str")
|
||||||
|
cpp_quote("# else")
|
||||||
|
cpp_quote("# define OLESTR(str) u##str")
|
||||||
|
cpp_quote("# endif")
|
||||||
cpp_quote("#endif")
|
cpp_quote("#endif")
|
||||||
|
|
||||||
typedef LONG SCODE;
|
typedef LONG SCODE;
|
||||||
|
|
Loading…
Reference in New Issue