Module: wine Branch: master Commit: 858f9ac0d5550c2337b672746b3b6f6d8abf6f1a URL: https://source.winehq.org/git/wine.git/?a=commit;h=858f9ac0d5550c2337b672746...
Author: Kevin Puetz PuetzKevinA@JohnDeere.com Date: Thu Feb 13 11:35:36 2020 +0100
basetyps.h: Don't typedef wchar_t for C++.
This matches corecrt.h.
Signed-off-by: Jacek Caban jacek@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/basetyps.h | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/include/basetyps.h b/include/basetyps.h index 82b25b7a17..18e15dcabd 100644 --- a/include/basetyps.h +++ b/include/basetyps.h @@ -83,7 +83,9 @@ typedef unsigned long error_status_t; #endif
#ifndef _WCHAR_T_DEFINED +#ifndef __cplusplus typedef unsigned short wchar_t; +#endif #define _WCHAR_T_DEFINED #endif