diff options
Diffstat (limited to 'src/include/cvc5_private_library.h')
-rw-r--r-- | src/include/cvc5_private_library.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include/cvc5_private_library.h b/src/include/cvc5_private_library.h new file mode 100644 index 000000000..95c928fb5 --- /dev/null +++ b/src/include/cvc5_private_library.h @@ -0,0 +1,32 @@ +/****************************************************************************** + * Top contributors (to current version): + * Andres Noetzli, Mathias Preiner, Tim King + * + * This file is part of the cvc5 project. + * + * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS + * in the top-level source directory and their institutional affiliations. + * All rights reserved. See the file COPYING in the top-level source + * directory for licensing information. + * **************************************************************************** + * + * Inclusion of this file marks a header as private and generates a warning + * when the file is included improperly. + */ + +#ifndef CVC5_PRIVATE_LIBRARY_H +#define CVC5_PRIVATE_LIBRARY_H + +#if !(defined(__BUILDING_CVC4LIB) || defined(__BUILDING_CVC4LIB_UNIT_TEST) \ + || defined(__BUILDING_CVC4PARSERLIB) \ + || defined(__BUILDING_CVC4PARSERLIB_UNIT_TEST) \ + || defined(__BUILDING_CVC4DRIVER)) +# error 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 "cvc4autoconfig.h" +#include "cvc5_public.h" + +#endif /* CVC5_PRIVATE_LIBRARY_H */ |