aboutsummaryrefslogtreecommitdiff
path: root/ports/selene/disable_x86_intrinsics_on_arm.patch
blob: 79e38c57c35a229de289a6a4fbb02d6a15ee6261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/selene/base/Bitcount.hpp b/selene/base/Bitcount.hpp
index a4d69e4..709f650 100755
--- a/selene/base/Bitcount.hpp
+++ b/selene/base/Bitcount.hpp
@@ -69,7 +69,7 @@ inline std::size_t bit_count(unsigned long long x)
   return static_cast<std::size_t>(__builtin_popcountll(x));
 }
 
-#elif defined(_MSC_VER)
+#elif defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64)
 
 /** \brief Performs a bit count on the supplied value.
  *