diff options
| author | Hennadii Zabula <zabulus12@gmail.com> | 2017-05-23 12:31:09 +0300 |
|---|---|---|
| committer | Hennadii Zabula <zabulus12@gmail.com> | 2017-05-25 10:55:07 +0300 |
| commit | c5d7766b0049c0d292c1886689b08f3d4d2c9057 (patch) | |
| tree | f78aa639a1e5d5205032d226f3ada887f84a6930 /ports/double-conversion/001-fix-arm.patch | |
| parent | dfaa7a831c914447cb9413bc82bd3ea2ee72594b (diff) | |
| download | vcpkg-c5d7766b0049c0d292c1886689b08f3d4d2c9057.tar.gz vcpkg-c5d7766b0049c0d292c1886689b08f3d4d2c9057.zip | |
Fix double conversion build
Diffstat (limited to 'ports/double-conversion/001-fix-arm.patch')
| -rw-r--r-- | ports/double-conversion/001-fix-arm.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/double-conversion/001-fix-arm.patch b/ports/double-conversion/001-fix-arm.patch new file mode 100644 index 000000000..98ce2080c --- /dev/null +++ b/ports/double-conversion/001-fix-arm.patch @@ -0,0 +1,13 @@ +diff --git a/double-conversion/utils.h b/double-conversion/utils.h" +index 51d5e61..24cd5f1 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(__hppa__) || defined(__ia64__) || \ + defined(__mips__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ |
