diff options
Diffstat (limited to 'src/include/cvc4_private_library.h')
-rw-r--r-- | src/include/cvc4_private_library.h | 31 |
1 files changed, 31 insertions, 0 deletions
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 */ |