aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2019-11-24 07:17:49 +0000
committerGleb Popov <arrowd@FreeBSD.org>2019-11-24 07:17:49 +0000
commit888c43284804fec3d5a9f40659fb679df1e3d9d5 (patch)
tree79d2eae6904ddfe184665514cd784bfd71abad45
parentfc3316e50181c7feb2696c591ee81a7165ee0733 (diff)
downloadports-888c43284804fec3d5a9f40659fb679df1e3d9d5.tar.gz
ports-888c43284804fec3d5a9f40659fb679df1e3d9d5.zip
Notes
-rw-r--r--math/z3/files/patch-src_util_mpz.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/z3/files/patch-src_util_mpz.cpp b/math/z3/files/patch-src_util_mpz.cpp
new file mode 100644
index 000000000000..3dbba3d278ca
--- /dev/null
+++ b/math/z3/files/patch-src_util_mpz.cpp
@@ -0,0 +1,11 @@
+--- src/util/mpz.cpp.orig 2019-11-19 20:58:44 UTC
++++ src/util/mpz.cpp
+@@ -72,6 +72,8 @@ inline uint64_t _trailing_zeros64(uint64_t x) {
+
+ #if defined(_WINDOWS) && !defined(_M_ARM) && !defined(_M_ARM64)
+ // _trailing_zeros32 already defined using intrinsics
++#elif defined(__GNUC__)
++// _trailing_zeros32 already defined using intrinsics
+ #else
+ inline uint32_t _trailing_zeros32(uint32_t x) {
+ uint32_t r = 0;