--- qemu/linux-user/arm/nwfpe/double_cpdo.c 2018/04/24 16:52:09 1.1 +++ qemu/linux-user/arm/nwfpe/double_cpdo.c 2018/04/24 18:26:34 1.1.1.3 @@ -15,8 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with this program; if not, see . */ #include "fpa11.h" @@ -150,7 +149,7 @@ unsigned int DoubleCPDO(const unsigned i case MNF_CODE: { unsigned int *p = (unsigned int*)&rFm; -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN p[0] ^= 0x80000000; #else p[1] ^= 0x80000000; @@ -162,7 +161,7 @@ unsigned int DoubleCPDO(const unsigned i case ABS_CODE: { unsigned int *p = (unsigned int*)&rFm; -#ifdef WORDS_BIGENDIAN +#ifdef HOST_WORDS_BIGENDIAN p[0] &= 0x7fffffff; #else p[1] &= 0x7fffffff;