aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_lcl.h.patch
blob: 84835ed789b78cd5f69b385c8b9bc0a240a7c274 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./crypto/bn/bn_lcl.h.orig	Fri Feb 18 16:30:39 2022
+++ ./crypto/bn/bn_lcl.h	Mon Feb 21 05:39:35 2022
@@ -283,7 +283,7 @@
 	     : "r"(a), "r"(b));		\
 	ret;			})
 #  endif	/* compiler */
-# elif defined(__x86_64) || defined(__x86_64__)
+# elif (defined(__x86_64) || defined(__x86_64__)) && defined(_LP64)
 #  if defined(__GNUC__) && __GNUC__>=2
 #   define BN_UMULT_HIGH(a,b)	({	\
 	BN_ULONG ret,discard;	\