Author: ktietz
Date: Sun Feb 28 09:29:07 2010
New Revision: 45718
URL:
http://svn.reactos.org/svn/reactos?rev=45718&view=rev
Log:
Fix crt definition of TCHAR, ...
Modified:
branches/header-work/include/crt/tchar.h
Modified: branches/header-work/include/crt/tchar.h
URL:
http://svn.reactos.org/svn/reactos/branches/header-work/include/crt/tchar.h…
==============================================================================
--- branches/header-work/include/crt/tchar.h [iso-8859-1] (original)
+++ branches/header-work/include/crt/tchar.h [iso-8859-1] Sun Feb 28 09:29:07 2010
@@ -108,10 +108,11 @@
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 @@
#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