mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[VCRUNTIME][CRT] Change WCHAR_MIN/WCHAR_MAX to match native headers
This avoids conflicting definitions with MS CRT headers.
This commit is contained in:
parent
53d3cc5f3f
commit
9dedcb67e9
@ -25,10 +25,10 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef WCHAR_MIN
|
||||
#define WCHAR_MIN 0
|
||||
#define WCHAR_MIN 0x0000
|
||||
#endif
|
||||
#ifndef WCHAR_MAX
|
||||
#define WCHAR_MAX ((wchar_t)-1) /* UINT16_MAX */
|
||||
#define WCHAR_MAX 0xffff /* UINT16_MAX */
|
||||
#endif
|
||||
|
||||
#ifndef WEOF
|
||||
|
@ -158,10 +158,10 @@ __MINGW_EXTENSION typedef unsigned long long uintmax_t;
|
||||
#endif
|
||||
|
||||
#ifndef WCHAR_MIN /* also in wchar.h */
|
||||
#define WCHAR_MIN 0
|
||||
#define WCHAR_MIN 0x0000
|
||||
#endif
|
||||
#ifndef WCHAR_MAX
|
||||
#define WCHAR_MAX ((wchar_t)-1) /* UINT16_MAX */
|
||||
#define WCHAR_MAX 0xffff /* UINT16_MAX */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user