[xml] libxml endian detection



Hi !
I just tried to compile libxml on a cray t3e,
that works .. 
(I only need the basic xml interface, I switched off everything else)

even the example compiles and runs ... until
the endian detection ...

on the cray  (big endian architecture)
the size of unsigned short int is 4

the file encoding.c assumes that it has always the size of 2 ...

I could patch that ...

but ...
are there other parts of libxml that depend on the size of short int ?

any ideas ?

        ciao,   Martin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]