Eric Pouech : include/msvcrt: Redefine towlower* & towupper* with wint_t types.
Alexandre Julliard
julliard at winehq.org
Tue May 3 15:39:24 CDT 2022
Module: wine
Branch: master
Commit: 69ab9568b28b594160ffae3ce5fef9439fe74ae3
URL: https://source.winehq.org/git/wine.git/?a=commit;h=69ab9568b28b594160ffae3ce5fef9439fe74ae3
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Mon May 2 16:10:42 2022 +0200
include/msvcrt: Redefine towlower* & towupper* with wint_t types.
It conflicts in C++ compilation with MINGW builtin definitions.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
include/msvcrt/corecrt_wctype.h | 8 ++++----
include/msvcrt/wctype.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/include/msvcrt/corecrt_wctype.h b/include/msvcrt/corecrt_wctype.h
index 33f91db9719..9661ab5e596 100644
--- a/include/msvcrt/corecrt_wctype.h
+++ b/include/msvcrt/corecrt_wctype.h
@@ -36,8 +36,8 @@ _ACRTIMP int __cdecl _iswprint_l(wint_t,_locale_t);
_ACRTIMP int __cdecl _iswpunct_l(wint_t,_locale_t);
_ACRTIMP int __cdecl _iswspace_l(wint_t,_locale_t);
_ACRTIMP int __cdecl _iswupper_l(wint_t,_locale_t);
-_ACRTIMP wchar_t __cdecl _towlower_l(wchar_t,_locale_t);
-_ACRTIMP wchar_t __cdecl _towupper_l(wchar_t,_locale_t);
+_ACRTIMP wint_t __cdecl _towlower_l(wint_t,_locale_t);
+_ACRTIMP wint_t __cdecl _towupper_l(wint_t,_locale_t);
_ACRTIMP int __cdecl is_wctype(wint_t,wctype_t);
_ACRTIMP int __cdecl isleadbyte(int);
_ACRTIMP int __cdecl iswalnum(wint_t);
@@ -54,8 +54,8 @@ _ACRTIMP int __cdecl iswpunct(wint_t);
_ACRTIMP int __cdecl iswspace(wint_t);
_ACRTIMP int __cdecl iswupper(wint_t);
_ACRTIMP int __cdecl iswxdigit(wint_t);
-_ACRTIMP wchar_t __cdecl towlower(wchar_t);
-_ACRTIMP wchar_t __cdecl towupper(wchar_t);
+_ACRTIMP wint_t __cdecl towlower(wint_t);
+_ACRTIMP wint_t __cdecl towupper(wint_t);
#ifdef __cplusplus
}
diff --git a/include/msvcrt/wctype.h b/include/msvcrt/wctype.h
index 2cf4636a88b..27a6adcd922 100644
--- a/include/msvcrt/wctype.h
+++ b/include/msvcrt/wctype.h
@@ -64,8 +64,8 @@ _ACRTIMP int __cdecl iswpunct(wint_t);
_ACRTIMP int __cdecl iswspace(wint_t);
_ACRTIMP int __cdecl iswupper(wint_t);
_ACRTIMP int __cdecl iswxdigit(wint_t);
-_ACRTIMP wchar_t __cdecl towlower(wchar_t);
-_ACRTIMP wchar_t __cdecl towupper(wchar_t);
+_ACRTIMP wint_t __cdecl towlower(wint_t);
+_ACRTIMP wint_t __cdecl towupper(wint_t);
#endif /* _WCTYPE_DEFINED */
typedef wchar_t wctrans_t;
More information about the wine-cvs
mailing list