summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine_check_proof.cpp
diff options
context:
space:
mode:
authorTim King <taking@google.com>2015-10-26 12:21:42 -0700
committerTim King <taking@google.com>2015-10-26 12:48:53 -0700
commit0f66dd16f35eac64149919f0f4048b422345c5eb (patch)
treec37007e7e0b69ac6065f1928a29be54f648158b9 /src/smt/smt_engine_check_proof.cpp
parent52b8d1508d91a2284c29e3fae02a22307e42a476 (diff)
This commit fixes a bug related to a public header depending on a compiler flag. This resulted in user code seeing a different size for the SmtEngine class than what was compiled in the library. Proofs are enabled by default again. See http://cvc4.cs.nyu.edu/bugs/show_bug.cgi?id=688 for more information.
Diffstat (limited to 'src/smt/smt_engine_check_proof.cpp')
-rw-r--r--src/smt/smt_engine_check_proof.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/smt/smt_engine_check_proof.cpp b/src/smt/smt_engine_check_proof.cpp
index 4c35bd863..d04daef92 100644
--- a/src/smt/smt_engine_check_proof.cpp
+++ b/src/smt/smt_engine_check_proof.cpp
@@ -16,6 +16,7 @@
**/
#include "smt/smt_engine.h"
+#include "util/configuration_private.h"
#include "util/statistics_registry.h"
#include "check.h"
@@ -49,7 +50,7 @@ public:
void SmtEngine::checkProof() {
-#ifdef CVC4_PROOF
+#if IS_PROOFS_BUILD
Chat() << "generating proof..." << endl;
@@ -88,10 +89,10 @@ void SmtEngine::checkProof() {
check_file(pfFile, args());
close(fd);
-#else /* CVC4_PROOF */
+#else /* IS_PROOFS_BUILD */
Unreachable("This version of CVC4 was built without proof support; cannot check proofs.");
-#endif /* CVC4_PROOF */
+#endif /* IS_PROOFS_BUILD */
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback