[singular] 07/45: assert needs to be defined after #include "assert.h", also if -Ifactory is used.
felix salfelder
felix-guest at alioth.debian.org
Sat Sep 14 13:57:01 UTC 2013
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master-3-1-5
in repository singular.
commit 6f5575cb635bf80edef4add40147481d9784944b
Author: Felix Salfelder <felix at salfelder.org>
Date: Thu Feb 16 11:23:11 2012 +0100
assert needs to be defined after #include "assert.h",
also if -Ifactory is used.
---
factory/assert.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/factory/assert.h b/factory/assert.h
index 3dd036b..d2933a1 100644
--- a/factory/assert.h
+++ b/factory/assert.h
@@ -128,3 +128,9 @@ extern "C" {
#define PVIRT_CHARCC(msg) = 0
#endif /* NOASSERT */
/* }}} */
+
+
+//assert is expected to be available after '#include "assert.h"'
+#ifndef assert
+# define assert(a)
+#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git
More information about the debian-science-commits
mailing list