Fix the _WCTYPE_T_DEFINED sentry for compatibility.
This commit is contained in:
parent
da29b6547f
commit
adb4cb3890
|
@ -40,10 +40,10 @@ typedef unsigned short MSVCRT(wchar_t);
|
|||
# endif
|
||||
#endif /* USE_MSVCRT_PREFIX */
|
||||
|
||||
#ifndef MSVCRT_WCTYPE_T_DEFINED
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wint_t);
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wctype_t);
|
||||
#define MSVCRT_WCTYPE_T_DEFINED
|
||||
#ifndef _WCTYPE_T_DEFINED
|
||||
typedef unsigned short MSVCRT(wint_t);
|
||||
typedef unsigned short MSVCRT(wctype_t);
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#endif
|
||||
|
||||
/* ASCII char classification table - binary compatible */
|
||||
|
|
|
@ -129,10 +129,10 @@ typedef unsigned short MSVCRT(wchar_t);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MSVCRT_WCTYPE_T_DEFINED
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wint_t);
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wctype_t);
|
||||
#define MSVCRT_WCTYPE_T_DEFINED
|
||||
#ifndef _WCTYPE_T_DEFINED
|
||||
typedef unsigned short MSVCRT(wint_t);
|
||||
typedef unsigned short MSVCRT(wctype_t);
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -50,10 +50,10 @@ typedef unsigned int MSVCRT(size_t);
|
|||
#define MSVCRT_SIZE_T_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef MSVCRT_WCTYPE_T_DEFINED
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wint_t);
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wctype_t);
|
||||
#define MSVCRT_WCTYPE_T_DEFINED
|
||||
#ifndef _WCTYPE_T_DEFINED
|
||||
typedef unsigned short MSVCRT(wint_t);
|
||||
typedef unsigned short MSVCRT(wctype_t);
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef _MSC_VER
|
||||
|
|
|
@ -60,10 +60,10 @@ typedef unsigned short MSVCRT(wchar_t);
|
|||
# endif
|
||||
#endif /* USE_MSVCRT_PREFIX */
|
||||
|
||||
#ifndef MSVCRT_WCTYPE_T_DEFINED
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wint_t);
|
||||
typedef MSVCRT(wchar_t) MSVCRT(wctype_t);
|
||||
#define MSVCRT_WCTYPE_T_DEFINED
|
||||
#ifndef _WCTYPE_T_DEFINED
|
||||
typedef unsigned short MSVCRT(wint_t);
|
||||
typedef unsigned short MSVCRT(wctype_t);
|
||||
#define _WCTYPE_T_DEFINED
|
||||
#endif
|
||||
|
||||
/* FIXME: there's something to do with __p__pctype and __p__pwctype */
|
||||
|
|
Loading…
Reference in New Issue