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 d7f425d581e59c03e462789f29403023ac4ef5df
Author: Dana Jacobsen <d...@acm.org>
Date:   Tue Feb 25 10:08:19 2014 -0800

    Try harder to use lgamma
---
 aks.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/aks.c b/aks.c
index 22d722f..ed754b5 100644
--- a/aks.c
+++ b/aks.c
@@ -29,8 +29,9 @@
 
 #define SQRTN_SHORTCUT 1
 
-/* Use the improvements from Bornemann's 2002 implementation */
-#if (defined __USE_MISC || defined __USE_XOPEN || defined __USE_ISOC99) && 
!defined(_MSC_VER)
+/* Use improvements from Bornemann's 2002 implementation if we have lgamma */
+#if !defined(_MSC_VER) && \
+    (defined(__USE_ISOC99) || defined(_ISOC99_SOURCE) || 
defined(_NETBSD_SOURCE) || defined(__cplusplus) || !defined(__STRICT_ANSI__) || 
__STDC_VERSION__ >= 199901L || _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 
600)
 #define IMPL_BORNEMANN 1
 #else
 #define IMPL_BORNEMANN 0

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to