[mathicgb] 95/393: Fixed missing MATHICGB_RESTRICT macro for non MSVC.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.
commit f0f1d62fb4da91c54390cac10f7fb001f78f2d09
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date: Sat Nov 3 16:34:10 2012 +0100
Fixed missing MATHICGB_RESTRICT macro for non MSVC.
---
src/mathicgb/stdinc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mathicgb/stdinc.h b/src/mathicgb/stdinc.h
index c754e53..b0926c9 100755
--- a/src/mathicgb/stdinc.h
+++ b/src/mathicgb/stdinc.h
@@ -72,6 +72,7 @@
#define MATHICGB_PURE __attribute__(pure)
#define MATHICGB_MUST_CHECK_RETURN_VALUE __attribute__(warn_unused_result)
#define MATHICGB_UNREACHABLE __builtin_unreachable()
+#define MATHICGB_RESTRICT __restrict
#else
@@ -84,6 +85,7 @@
#define MATHICGB_PURE
#define MATHICGB_MUST_CHECK_RETURN_VALUE
#define MATHICGB_UNREACHABLE
+#define MATHICGB_RESTRICT
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git
More information about the debian-science-commits
mailing list