Commit 3bc14e79 authored by Kevin Puetz's avatar Kevin Puetz Committed by Alexandre Julliard

wtypes.idl: Support OLESTR macro with non-native wchar_t.

parent c1208903
......@@ -287,7 +287,11 @@ typedef WCHAR OLECHAR;
typedef [string] OLECHAR *LPOLESTR;
typedef [string] const OLECHAR *LPCOLESTR;
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")
typedef LONG SCODE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment