aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c')
-rw-r--r--lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c b/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
index 95c749f9d63b..87c398a91538 100644
--- a/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
+++ b/lang/rust/files/patch-vendor_openssl_crypto_threads__pthread.c
@@ -8,7 +8,7 @@ https://github.com/openssl/openssl/commit/65787e2dc219685c30539c6f60eb6b64b890bf
# define BROKEN_CLANG_ATOMICS
#endif
-+#if defined(__FreeBSD__) && defined(__i386__)
++#if defined(__FreeBSD__) && (defined(__i386__) || (defined(__powerpc__) && defined(__ILP32__)))
+#define BROKEN_CLANG_ATOMICS
+#endif
+