http://osdir.com/ml/kde-commits/2010-05/msg02572.html --- generator/generatorpreprocessor.cpp.orig 2010-05-13 19:48:41.805770798 +0100 +++ generator/generatorpreprocessor.cpp 2010-05-13 19:49:21.650113516 +0100 @@ -77,6 +77,14 @@ exportMacro->variadics = false; m_topBlock->setMacro(exportMacro); +#if (defined(QT_ARCH_ARM) || defined (QT_ARCH_ARMV6)) && !defined(QT_NO_ARM_EABI) + exportMacro = new rpp::pp_macro; + exportMacro->name = IndexedString("__ARM_EABI__"); + exportMacro->function_like = false; + exportMacro->variadics = false; + m_topBlock->setMacro(exportMacro); +#endif + // ansidecl.h will define macros for keywords if we don't define __STDC__ exportMacro = new rpp::pp_macro; exportMacro->name = IndexedString("__STDC__");