summaryrefslogtreecommitdiffstats
path: root/lang/spidermonkey24/files/patch-vm_NumericConversions.h
blob: 322ee644aafaaabfc39f08159df24f7949f3001e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- vm/NumericConversions.h.orig	2016-12-23 16:23:54 UTC
+++ vm/NumericConversions.h
@@ -132,7 +132,7 @@ ToIntWidth(double d)
 inline int32_t
 ToInt32(double d)
 {
-#if defined (__arm__) && defined (__GNUC__)
+#if defined (__arm__) && defined (__GNUC__)  && !defined(__clang__)
     int32_t i;
     uint32_t    tmp0;
     uint32_t    tmp1;
OpenPOWER on IntegriCloud