diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cvc4_private.h | 2 | ||||
-rw-r--r-- | src/include/cvc4_private_library.h | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/src/include/cvc4_private.h b/src/include/cvc4_private.h index 11d4a2ea9..c97398e1e 100644 --- a/src/include/cvc4_private.h +++ b/src/include/cvc4_private.h @@ -12,7 +12,7 @@ ** information.\endverbatim ** ** \brief #-inclusion of this file marks a header as private and generates a - ** warning when the file is included improperly. + ** warning when the file is included improperly ** ** #-inclusion of this file marks a header as private and generates a ** warning when the file is included improperly. diff --git a/src/include/cvc4_private_library.h b/src/include/cvc4_private_library.h new file mode 100644 index 000000000..b0aff2c64 --- /dev/null +++ b/src/include/cvc4_private_library.h @@ -0,0 +1,31 @@ +/********************* */ +/*! \file cvc4_private_library.h + ** \verbatim + ** Original author: mdeters + ** Major contributors: none + ** Minor contributors (to current version): none + ** This file is part of the CVC4 prototype. + ** Copyright (c) 2009-2012 The Analysis of Computer Systems Group (ACSys) + ** Courant Institute of Mathematical Sciences + ** New York University + ** See the file COPYING in the top-level source directory for licensing + ** information.\endverbatim + ** + ** \brief #-inclusion of this file marks a header as private and generates a + ** warning when the file is included improperly + ** + ** #-inclusion of this file marks a header as private and generates a + ** warning when the file is included improperly. + **/ + +#ifndef __CVC4_PRIVATE_LIBRARY_H +#define __CVC4_PRIVATE_LIBRARY_H + +#if ! (defined(__BUILDING_CVC4LIB) || defined(__BUILDING_CVC4LIB_UNIT_TEST) || defined(__BUILDING_CVC4PARSERLIB) || defined(__BUILDING_CVC4PARSERLIB_UNIT_TEST) || defined(__BUILDING_CVC4DRIVER)) +# warning A "private library" CVC4 header was included when not building the library, driver, or private unit test code. +#endif /* ! (__BUILDING_CVC4LIB || __BUILDING_CVC4LIB_UNIT_TEST || __BUILDING_CVC4PARSERLIB || __BUILDING_CVC4PARSERLIB_UNIT_TEST || __BUILDING_CVC4DRIVER) */ + +#include "cvc4_public.h" +#include "cvc4autoconfig.h" + +#endif /* __CVC4_PRIVATE_LIBRARY_H */ |