- Fix typo in error message

- Separate wint_t definition from wctype_t definition (needed for
  Cygwin target).
This commit is contained in:
Martin Fuchs 2004-10-19 03:57:18 +00:00 committed by Alexandre Julliard
parent cbaa545fff
commit 84ff5ddeac
1 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@
#endif #endif
#if defined(_UNICODE) || defined(_MBCS) #if defined(_UNICODE) || defined(_MBCS)
#error You must use msvcrt when builing in Unicode/MBCS mode #error You must use msvcrt when building in Unicode/MBCS mode
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
@ -219,8 +219,11 @@ extern "C" {
#define _TEXT(x) __T(x) #define _TEXT(x) __T(x)
#ifdef _UNICODE #ifdef _UNICODE
#ifndef _WCTYPE_T_DEFINED #if !defined(_WINT_T_DEFINED) && !defined(__WINT_TYPE__)
typedef unsigned short wint_t; typedef unsigned short wint_t;
#endif
#ifndef _WCTYPE_T_DEFINED
typedef unsigned short wctype_t; typedef unsigned short wctype_t;
#define _WCTYPE_T_DEFINED #define _WCTYPE_T_DEFINED
#endif #endif