[libmath-prime-util-perl] 03/18: MSC doesn't use inline. In theory __inline should work.
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:46:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.17
in repository libmath-prime-util-perl.
commit 11c190327c03885e943dc3146e6c8d8f39283579
Author: Dana Jacobsen <dana at acm.org>
Date: Thu Dec 13 15:51:58 2012 -0800
MSC doesn't use inline. In theory __inline should work.
---
mulmod.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mulmod.h b/mulmod.h
index 627fdcd..0b6ded1 100644
--- a/mulmod.h
+++ b/mulmod.h
@@ -3,8 +3,10 @@
#include "ptypes.h"
-#if defined(__GNUC__) || defined(_MSC_VER)
+#if defined(__GNUC__)
#define INLINE inline
+#elif defined(_MSC_VER)
+ #define INLINE __inline
#else
#define INLINE
#endif
--
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