Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3708

Show
Ignore:
Timestamp:
07/05/08 06:37:01 (2 months ago)
Author:
Deewiant
Message:

Changed TCHAR back to char for Win32SansUnicode. As ubyte, it breaks a large part of tango.io (and possibly other packages), and riddles code with semantically unnecessary casts.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/sys/win32/Types.di

    r3635 r3708  
    154154 
    155155version(Win32SansUnicode){ 
    156     alias ubyte  TCHAR; 
     156    // Strictly speaking this should be ubyte since char is UTF-8, but that 
     157    // fills code with so many casts that it's just not sensible. 
     158    // (See also DMD Issue 2193.) 
     159    alias  char TCHAR; 
    157160}else{ 
    158161    alias wchar TCHAR;