Adding SATCHECK_CONFIG to make switching easier ...
authorHamed Gorjiara <hgorjiar@uci.edu>
Mon, 23 Oct 2017 09:43:45 +0000 (02:43 -0700)
committerHamed Gorjiara <hgorjiar@uci.edu>
Mon, 23 Oct 2017 09:43:45 +0000 (02:43 -0700)
src/common.h
src/config.h
src/mymemory.h

index 0efebf8152d581e20066ca2e32222b5be37e9717..3d3adba8cb5df9e6956731cef0d6227cdb795f72 100644 (file)
@@ -19,7 +19,7 @@
 #include "time.h"
 
 
-#if 1
+#ifdef SATCHECK_CONFIG
 extern int model_out;
 extern int model_err;
 extern int switch_alloc;
index db02014b5f128ab4262b83f69f1ec7ae5a12dfc9..0c53dd6dbab21bb3a45e2955f0110b322a1614c3 100644 (file)
@@ -19,7 +19,7 @@
 //#define CONFIG_DEBUG
 #define TRACE_DEBUG
 #endif
-
+//#define SATCHECK_CONFIG
 #ifndef CONFIG_ASSERT
 #define CONFIG_ASSERT
 #endif
index 9708936e9d829934fd2176053ce37361a8edf6cb..700fb4f72553957a33259b9e7707e209b797367d 100644 (file)
@@ -26,7 +26,7 @@
    void * ourrealloc(void *ptr, size_t size);
  */
 
-#if 0
+#ifdef SATCHECK_CONFIG
 void *model_malloc(size_t size);
 void model_free(void *ptr);
 void *model_calloc(size_t count, size_t size);