fixes to "make distclean" and C compatibility bindings; should fix the broken builds...
authorMorgan Deters <mdeters@gmail.com>
Sat, 29 Sep 2012 13:52:53 +0000 (13:52 +0000)
committerMorgan Deters <mdeters@gmail.com>
Sat, 29 Sep 2012 13:52:53 +0000 (13:52 +0000)
src/bindings/compat/c/c_interface.cpp

index d4f287dd740bff90b2780f2d1bca8f1fe9a86126..6540f428c6a23ffaba4f479ffd35e67220588987 100644 (file)
 //#include "vc_cmd.h"
 //#include "theory_bitvector.h"
 //#include "fdstream.h"
-#include <string.h>
-#include <assert.h>
-
+#include <string>
+#include <cassert>
+#include <unistd.h>
+
+#ifdef CVC4_DEBUG
+#  define DebugAssert(cond, str) assert(cond)
+#  define IF_DEBUG(x) x
+#else
+#  define DebugAssert(...)
+#  define IF_DEBUG(x)
+#endif
 
 using namespace std;