On Sep  6, 2000, Pavel Roskin <[EMAIL PROTECTED]> wrote:

> By the way, can anybody think of an algorithm that avoids explicit support
> for ASCII and EBCDIC only?

Instead of 0x4142, use (('A'<<8)|'B').

But then, if the encoding of the host platform is different from that
of the build platform, the test would fail.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to