Re: [AD] dmc unicode patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2007-07-14, Matthew Leverton <meffer@xxxxxxxxxx> wrote:
> The DMC portion is easy ... it just cannot. MSVC, etc needs a run time
> check to see what version is being used. SYSTEM_NONE doesn't set the
> OS variables (nor should it), so the 4.2.1 system is broken in that
> regard. The easiest Windows check is just to see if the highest bit of
> GetVersion() is set. If it is set, then there won't be any Unicode
> support.
> 
> It could be a define like:
> 
> #define _al_win_supports_unicode() !(GetVersion() & 0x80000000)
> 
> and for DMC it is just false.

Yes, that's what I meant.  I was thinking of a function, but maybe a
macro is better.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/