[libmath-prime-util-perl] 46/54: No MS intrinsics with MSC clang

Partha P. Mukherjee ppm-guest at moszumanska.debian.org
Thu May 21 18:52:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

ppm-guest pushed a commit to annotated tag v0.38
in repository libmath-prime-util-perl.

commit c5757967d7928788dac06efecfaaecb8dd5b4374
Author: Dana Jacobsen <dana at acm.org>
Date:   Thu Feb 27 16:41:42 2014 -0800

    No MS intrinsics with MSC clang
---
 util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.h b/util.h
index c494ee7..31d8d34 100644
--- a/util.h
+++ b/util.h
@@ -143,7 +143,7 @@ static int is_perfect_square(UV n)
   * The performance of these functions are not super critical.
   * What is:  popcnt, mulmod, and muladd.
   */
-#elif defined (_MSC_VER) && _MSC_VER >= 1400
+#elif defined (_MSC_VER) && _MSC_VER >= 1400 && !defined(__clang__)
  #include <intrin.h>
  #ifdef FUNC_ctz
   static int ctz(UV n) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git



More information about the Pkg-perl-cvs-commits mailing list