aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-01 15:07:00 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-01 15:07:00 +0000
commit5f0ba1cc40d52f90484cddf8baf7ae583c2f2fa1 (patch)
tree60761a252e0ca04ad34e354d564fd2918f8276e2 /include
parent22dd1354b186f6289888382891b7b0f217d070b8 (diff)
2014-05-01 Steve Ellcey <sellcey@mips.com>
* include/longlong.h: Use 'defined()' to check __mips16. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209980 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/longlong.h2
2 files changed, 5 insertions, 1 deletions
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 <sellcey@mips.com>
+
+ * include/longlong.h: Use 'defined()' to check __mips16.
+
2014-04-30 Richard Sandiford <rdsandiford@googlemail.com>
* 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