fix for proofs-enabled builds
[cvc5.git] / src / proof / proof.h
1 /********************* */
2 /*! \file proof.h
3 ** \verbatim
4 ** Original author: lianah
5 ** Major contributors: none
6 ** Minor contributors (to current version): none
7 ** This file is part of the CVC4 prototype.
8 ** Copyright (c) 2009, 2010, 2011 The Analysis of Computer Systems Group (ACSys)
9 ** Courant Institute of Mathematical Sciences
10 ** New York University
11 ** See the file COPYING in the top-level source directory for licensing
12 ** information.\endverbatim
13 **
14 ** \brief Proof manager
15 **
16 ** Proof manager
17 **/
18
19 #ifndef __CVC4__PROOF__PROOF_H
20 #define __CVC4__PROOF__PROOF_H
21
22 #include "proof/options.h"
23
24 #ifdef CVC4_PROOF
25 # define PROOF(x) if(options::proof()) { x; }
26 # define NULLPROOF(x) (options::proof())? x : NULL
27 # define PROOF_ON() options::proof()
28 #else /* CVC4_PROOF */
29 # define PROOF(x)
30 # define NULLPROOF(x) NULL
31 # define PROOF_ON() false
32 #endif /* CVC4_PROOF */
33
34
35
36 #endif /* __CVC4__PROOF__PROOF_H */