Changeset 21505 for trunk/include


Ignore:
Timestamp:
Dec 3, 2010, 3:29:21 PM (15 years ago)
Author:
dmik
Message:

Fixed T() definition in UNICODE mode.

File:
1 edited

Legend:

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

    r21504 r21505  
    255255#define _T(x) __T(x)
    256256#define _TEXT(x) __T(x)
     257#ifdef UNICODE
     258#define __T(x) L##x
     259#else
    257260#define __T(x) x
     261#endif
    258262
    259263/* TCHAR and friends are already defined in windef.h */
Note: See TracChangeset for help on using the changeset viewer.