Commit adb4cb38 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Fix the _WCTYPE_T_DEFINED sentry for compatibility.

parent da29b654
...@@ -40,10 +40,10 @@ typedef unsigned short MSVCRT(wchar_t); ...@@ -40,10 +40,10 @@ typedef unsigned short MSVCRT(wchar_t);
# endif # endif
#endif /* USE_MSVCRT_PREFIX */ #endif /* USE_MSVCRT_PREFIX */
#ifndef MSVCRT_WCTYPE_T_DEFINED #ifndef _WCTYPE_T_DEFINED
typedef MSVCRT(wchar_t) MSVCRT(wint_t); typedef unsigned short MSVCRT(wint_t);
typedef MSVCRT(wchar_t) MSVCRT(wctype_t); typedef unsigned short MSVCRT(wctype_t);
#define MSVCRT_WCTYPE_T_DEFINED #define _WCTYPE_T_DEFINED
#endif #endif
/* ASCII char classification table - binary compatible */ /* ASCII char classification table - binary compatible */
......
...@@ -129,10 +129,10 @@ typedef unsigned short MSVCRT(wchar_t); ...@@ -129,10 +129,10 @@ typedef unsigned short MSVCRT(wchar_t);
#endif #endif
#endif #endif
#ifndef MSVCRT_WCTYPE_T_DEFINED #ifndef _WCTYPE_T_DEFINED
typedef MSVCRT(wchar_t) MSVCRT(wint_t); typedef unsigned short MSVCRT(wint_t);
typedef MSVCRT(wchar_t) MSVCRT(wctype_t); typedef unsigned short MSVCRT(wctype_t);
#define MSVCRT_WCTYPE_T_DEFINED #define _WCTYPE_T_DEFINED
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -50,10 +50,10 @@ typedef unsigned int MSVCRT(size_t); ...@@ -50,10 +50,10 @@ typedef unsigned int MSVCRT(size_t);
#define MSVCRT_SIZE_T_DEFINED #define MSVCRT_SIZE_T_DEFINED
#endif #endif
#ifndef MSVCRT_WCTYPE_T_DEFINED #ifndef _WCTYPE_T_DEFINED
typedef MSVCRT(wchar_t) MSVCRT(wint_t); typedef unsigned short MSVCRT(wint_t);
typedef MSVCRT(wchar_t) MSVCRT(wctype_t); typedef unsigned short MSVCRT(wctype_t);
#define MSVCRT_WCTYPE_T_DEFINED #define _WCTYPE_T_DEFINED
#endif #endif
#ifndef _MSC_VER #ifndef _MSC_VER
......
...@@ -60,10 +60,10 @@ typedef unsigned short MSVCRT(wchar_t); ...@@ -60,10 +60,10 @@ typedef unsigned short MSVCRT(wchar_t);
# endif # endif
#endif /* USE_MSVCRT_PREFIX */ #endif /* USE_MSVCRT_PREFIX */
#ifndef MSVCRT_WCTYPE_T_DEFINED #ifndef _WCTYPE_T_DEFINED
typedef MSVCRT(wchar_t) MSVCRT(wint_t); typedef unsigned short MSVCRT(wint_t);
typedef MSVCRT(wchar_t) MSVCRT(wctype_t); typedef unsigned short MSVCRT(wctype_t);
#define MSVCRT_WCTYPE_T_DEFINED #define _WCTYPE_T_DEFINED
#endif #endif
/* FIXME: there's something to do with __p__pctype and __p__pwctype */ /* FIXME: there's something to do with __p__pctype and __p__pwctype */
......
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