aboutsummaryrefslogtreecommitdiff
path: root/patches/bn_local.h.patch
blob: 2378ec7c270491a4a24b6e66f67189da4d612d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ./crypto/bn/bn_local.h.orig	Fri Feb 18 16:30:39 2022
+++ ./crypto/bn/bn_local.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;	\