Commit bd7132e3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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

parent 644d00d5
...@@ -26,8 +26,10 @@ extern "C" { ...@@ -26,8 +26,10 @@ extern "C" {
#endif #endif
#endif #endif
#define WCHAR_MIN 0 #ifndef WCHAR_MIN /* also in stdint.h */
#define WCHAR_MAX ((wchar_t)-1) #define WCHAR_MIN 0U
#define WCHAR_MAX 0xffffU
#endif
#ifndef DECLSPEC_ALIGN #ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS) # if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment