diff options
Diffstat (limited to 'src/util/rational_gmp_imp.cpp')
-rw-r--r-- | src/util/rational_gmp_imp.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/util/rational_gmp_imp.cpp b/src/util/rational_gmp_imp.cpp index e5ff11c07..a0af69b4c 100644 --- a/src/util/rational_gmp_imp.cpp +++ b/src/util/rational_gmp_imp.cpp @@ -1,8 +1,8 @@ /********************* */ -/*! \file rational.cpp +/*! \file rational_gmp_imp.cpp ** \verbatim ** Original author: taking - ** Major contributors: mdeters, cconway + ** Major contributors: none ** Minor contributors (to current version): none ** This file is part of the CVC4 prototype. ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys) @@ -15,12 +15,16 @@ ** ** A multi-precision rational constant. **/ -#ifdef __CVC4__USE_GMP_IMP -#include "util/integer.h" +#include "cvc4autoconfig.h" #include "util/rational.h" +#include "util/integer.h" #include <string> +#ifndef CVC4_GMP_IMP +# error "This source should only ever be built if CVC4_GMP_IMP is on !" +#endif /* CVC4_GMP_IMP */ + using namespace std; using namespace CVC4; @@ -49,4 +53,3 @@ std::ostream& CVC4::operator<<(std::ostream& os, const Rational& q){ return os << q.toString(); } -#endif /* __CVC4__USE_GMP_IMP */ |