[PATCH] include: Introduce WINE_UNICODE_CHAR16 that allows using char16_t as Windows WCHAR.

Jacek Caban jacek at codeweavers.com
Tue Feb 11 12:52:22 CST 2020


From: Kevin Puetz <PuetzKevinA at JohnDeere.com>

This is useful for winelib applications that don't use -fshort-wchar. 
They may use u"" for string literals and u16string. However, C++ has 
builtin char16_t type, so we need WCHAR to be compatible with that.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
  include/sqltypes.h | 4 +++-
  include/tchar.h    | 4 +++-
  include/winnt.h    | 9 ++++++---
  include/winnt.rh   | 6 ++++--
  4 files changed, 16 insertions(+), 7 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-include-Introduce-WINE_UNICODE_CHAR16-that-allows-usin.txt
Type: text/x-patch
Size: 2057 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200211/6aa61d27/attachment.bin>


More information about the wine-devel mailing list