mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 09:54:42 +00:00
Bug 1480578 - update double-conversion to bring in ARM/AArch64 Windows support; r=Waldo
This commit is contained in:
parent
57c6f15b04
commit
8b18d41782
@ -1,9 +1,19 @@
|
||||
commit 9a8e518bedcf171d99eb1c00eef4beb1ecc20a4b
|
||||
Merge: ae9ad90 da420c3
|
||||
Author: Florian Loitsch <floitsch@google.com>
|
||||
Date: Tue May 22 11:24:13 2018 +0200
|
||||
commit 4e8b3b553c58d6afa78cc212a80c830812431132
|
||||
Author: thomaslmiller <41446875+thomaslmiller@users.noreply.github.com>
|
||||
Date: Thu Aug 2 01:32:25 2018 -0700
|
||||
|
||||
Merge pull request #68 from floitschG/static_size_assert
|
||||
|
||||
Use `static_assert` with newer compilers.
|
||||
Add support for Windows on ARM and ARM64 (#76)
|
||||
|
||||
diff --git a/double-conversion/utils.h b/double-conversion/utils.h
|
||||
index 28bb694..98a2a11 100644
|
||||
--- a/double-conversion/utils.h
|
||||
+++ b/double-conversion/utils.h
|
||||
@@ -68,7 +68,7 @@ inline void abort_noreturn() { abort(); }
|
||||
// disabled.)
|
||||
// On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
|
||||
#if defined(_M_X64) || defined(__x86_64__) || \
|
||||
- defined(__ARMEL__) || defined(__avr32__) || \
|
||||
+ defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
||||
defined(__hppa__) || defined(__ia64__) || \
|
||||
defined(__mips__) || \
|
||||
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
|
||||
|
@ -68,7 +68,7 @@ inline void abort_noreturn() { MOZ_CRASH(); }
|
||||
// disabled.)
|
||||
// On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
|
||||
#if defined(_M_X64) || defined(__x86_64__) || \
|
||||
defined(__ARMEL__) || defined(__avr32__) || \
|
||||
defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
|
||||
defined(__hppa__) || defined(__ia64__) || \
|
||||
defined(__mips__) || \
|
||||
defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
|
||||
|
Loading…
Reference in New Issue
Block a user