Fix the _WCTYPE_T_DEFINED sentry for compatibility.

This commit is contained in:
Dimitrie O. Paun 2004-04-26 23:31:39 +00:00 committed by Alexandre Julliard
parent da29b6547f
commit adb4cb3890
4 changed files with 16 additions and 16 deletions

View file

@ -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 */

View file

@ -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

View file

@ -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

View file

@ -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 */