First Impressions
Anders F Björklund
afb at algonet.se
Fri Sep 29 00:52:49 PDT 2006
> I did the big mistake of thinking it would be a good thing to be able to
> switch between "ANSI" and "UNICODE" builds (of wxD), and so did it like:
>
> version(UNICODE)
> alias char[] string;
> else // version(ANSI)
> alias wchar_t[] string; // wchar[] on Windows, dchar[] on Unix
Except the other way around, of course!
version(UNICODE)
alias wchar_t[] string;
else // version(ANSI)
alias char[] string;
Now, to get me some more coffee... :-P
--anders
More information about the Digitalmars-d
mailing list