Fix crt definition of TCHAR, ...

svn path=/branches/header-work/; revision=45718
This commit is contained in:
Kai Tietz 2010-02-28 08:29:07 +00:00
parent 1a9142015a
commit 520bd868e4

View file

@ -108,10 +108,11 @@ extern "C" {
typedef wint_t _TINT;
#endif
#ifndef NO_OLDNAMES
#ifndef _TCHAR_DEFINED
#define _TCHAR_DEFINED
#ifndef NO_OLDNAMES
typedef wchar_t TCHAR;
typedef wchar_t TCHAR,*PTCHAR;
typedef wchar_t TBYTE,*PTBYTE;
#endif
#endif
@ -773,11 +774,12 @@ extern "C" {
#define __TCHAR_DEFINED
#endif
#ifndef NO_OLDNAMES
#ifndef _TCHAR_DEFINED
#ifndef NO_OLDNAMES
typedef char TCHAR;
#endif
#define _TCHAR_DEFINED
typedef char TCHAR,*PTCHAR;
typedef unsigned char TBYTE,*PTBYTE;
#endif
#endif
#ifdef _MB_MAP_DIRECT