Changeset 21968 for trunk/include


Ignore:
Timestamp:
Feb 16, 2012, 11:46:35 AM (14 years ago)
Author:
dmik
Message:

Add missing PTCHAR, PTSTR and PCTSTR defs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/windef.h

    r21498 r21968  
    574574#define _TCHAR_DEFINED
    575575# ifdef UNICODE
    576 typedef WCHAR TCHAR;
    577 typedef LPWSTR LPTSTR;
    578 typedef LPCWSTR LPCTSTR;
     576typedef WCHAR TCHAR, *PTCHAR;
     577typedef LPWSTR LPTSTR, PTSTR;
     578typedef LPCWSTR LPCTSTR, PCTSTR;
    579579#define __TEXT(string) L##string /*probably wrong */
    580580# else  /* UNICODE */
    581 typedef CHAR            TCHAR,      *PTCHAR;
    582 typedef LPSTR LPTSTR;
    583 typedef LPCSTR LPCTSTR;
     581typedef CHAR TCHAR, *PTCHAR;
     582typedef LPSTR LPTSTR, PTSTR;
     583typedef LPCSTR LPCTSTR, PCTSTR;
    584584#define __TEXT(string) string
    585585# endif /* UNICODE */
Note: See TracChangeset for help on using the changeset viewer.