toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / putty / 0002-Fix-__uint128_t-compile-error-on-MinGW.patch
blob514b6298d93cce339441eedcb86ffbe5471ed6d5
1 From 3377ea57f5d333d65d44a1130161396782389e88 Mon Sep 17 00:00:00 2001
2 From: Tim Kosse <tim.kosse@filezilla-project.org>
3 Date: Tue, 11 Aug 2015 09:43:34 +0200
4 Subject: [PATCH] Fix __uint128_t compile error on MinGW.
6 MinGW has __uint128_t, but not __uint64_t.
8 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
9 ---
10 Patch status: upstream commit 3377ea57f5
12 sshbn.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/sshbn.h b/sshbn.h
16 index a043241eea67..9366f614ae4c 100644
17 --- a/sshbn.h
18 +++ b/sshbn.h
19 @@ -26,7 +26,7 @@
20 * using the same 'two machine registers' kind of code generation that
21 * 32-bit targets use for 64-bit ints. If we have one of these, we can
22 * use a 64-bit BignumInt and a 128-bit BignumDblInt. */
23 -typedef __uint64_t BignumInt;
24 +typedef unsigned long long BignumInt;
25 typedef __uint128_t BignumDblInt;
26 #define BIGNUM_INT_MASK 0xFFFFFFFFFFFFFFFFULL
27 #define BIGNUM_TOP_BIT 0x8000000000000000ULL
28 --
29 2.8.1