From 6b2eb793c0f1d3418eb119b6cfec66367074cb3e Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Mon, 2 May 2011 14:55:24 +0000 Subject: [PATCH] fix broken build; sorry, all! --- src/lib/replacements.h | 2 +- test/system/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/replacements.h b/src/lib/replacements.h index 6e6f0d0f5..309c8f5b6 100644 --- a/src/lib/replacements.h +++ b/src/lib/replacements.h @@ -27,7 +27,7 @@ # if defined(__BUILDING_CVC4PARSERLIB) || defined(__BUILDING_CVC4PARSERLIB_UNIT_TEST) # include "cvc4parser_private.h" # else -# if defined(__BUILDING_CVC4DRIVER) +# if defined(__BUILDING_CVC4DRIVER __BUILDING_CVC4_SYSTEM_TEST) # include "cvc4autoconfig.h" # else # error Must be building libcvc4 or libcvc4parser to use replacement functions. This is because replacement function headers should never be publicly-depended upon, as they should not be installed on user machines with 'make install'. diff --git a/test/system/Makefile.am b/test/system/Makefile.am index 55688309e..40c045a74 100644 --- a/test/system/Makefile.am +++ b/test/system/Makefile.am @@ -40,6 +40,7 @@ AM_CPPFLAGS = \ "-I@top_srcdir@/src/prop/minisat" \ -D __STDC_LIMIT_MACROS \ -D __STDC_FORMAT_MACROS \ + -D __BUILDING_CVC4_SYSTEM_TEST \ $(TEST_CPPFLAGS) LIBADD = \ @abs_top_builddir@/src/parser/libcvc4parser.la \ -- 2.30.2