include: Avoid macro redefinition when wchar.h is included after stdint.h.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2019-10-22 15:54:08 +02:00 committed by Alexandre Julliard
parent 644d00d540
commit bd7132e312
1 changed files with 4 additions and 2 deletions

View File

@ -26,8 +26,10 @@ extern "C" {
#endif
#endif
#define WCHAR_MIN 0
#define WCHAR_MAX ((wchar_t)-1)
#ifndef WCHAR_MIN /* also in stdint.h */
#define WCHAR_MIN 0U
#define WCHAR_MAX 0xffffU
#endif
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)