From b6799f373ac288dc5de71240a13488e9e3530f2a Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 1 May 2014 15:07:00 +0000 Subject: [PATCH] longlong.h: Use 'defined()' to check __mips16. 2014-05-01 Steve Ellcey * include/longlong.h: Use 'defined()' to check __mips16. From-SVN: r209980 --- include/ChangeLog | 4 ++++ include/longlong.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 41103a4c8f9..1655306019c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2014-05-01 Steve Ellcey + + * include/longlong.h: Use 'defined()' to check __mips16. + 2014-04-30 Richard Sandiford * longlong.h (__i386__): Remove W_TYPE_SIZE==64 handling. diff --git a/include/longlong.h b/include/longlong.h index 0770290a58b..31f88cb3f59 100644 --- a/include/longlong.h +++ b/include/longlong.h @@ -848,7 +848,7 @@ extern UDItype __umulsidi3 (USItype, USItype); #define UMUL_TIME 10 #define UDIV_TIME 100 -#if (__mips == 32 || __mips == 64) && ! __mips16 +#if (__mips == 32 || __mips == 64) && ! defined (__mips16) #define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clz (X)) #define COUNT_LEADING_ZEROS_0 32 #endif