Wine Source build on native wchar_t 4 bytes

Nikolay Sivov nsivov at codeweavers.com
Tue May 3 10:26:19 CDT 2022



On 5/3/22 18:09, Mahin Pandya wrote:
> Hello All,
>
> We are trying to build Wine Source on Linux with native wchar_t size 4 bytes (instead of 2 bytes), is there any way it can be done? I started with doing following changes:
>
> Also started changing some of headers e.g. winnt.h - removed "typedef unsigned short  WCHAR;"  Any pointers/suggestion are welcome. Thanking you.

Hi, Mahin.

Why would you need to 4 bytes WCHAR? Even if you manage to build it, and 
run some wine builtin program, it will break Windows API for any program 
you'll run with wine.

>
> regards,
> Mahin
>




More information about the wine-devel mailing list