Also this does not help at all m_auto.h #ifdef PJ_DARWINOS [...] #else /* Endianness, as detected by autoconf */ /* # undef WORDS_BIGENDIAN */ #endif So config.h will not have either PJ_IS_{BIG,LITTLE}_ENDIAN set when this file is loaded. This would warrant at least a configuration switch in my opinion. Vittorio On 2014-06-16 18:12, Vittorio Giovara wrote: > Hi, > > when you compile pjsip targeting ARM you have to select the endianness > of the processor. > However if you compile statically you can only find out when some > other project will include the pjheaders. > Can you move the check at the configure stage in some way? > Thanks, > Vittorio > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org