Kevin Puetz : basetyps.h: Don't typedef wchar_t for C++.
Alexandre Julliard
julliard at winehq.org
Thu Feb 13 15:36:29 CST 2020
Module: wine
Branch: master
Commit: 858f9ac0d5550c2337b672746b3b6f6d8abf6f1a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=858f9ac0d5550c2337b672746b3b6f6d8abf6f1a
Author: Kevin Puetz <PuetzKevinA at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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
More information about the wine-cvs
mailing list