Not yet working stack checking (symbol STACKCHECK)
[gnokii.git] / acconfig.h
index dfd6d99..9bbd4bb 100644 (file)
 
 #include "uccompat.h"
 
+#ifdef STACKCHECK
+extern void live_check(const char *file,int line);
+extern void live_disable(int how);
+#define LIVE live_check(__FILE__,__LINE__)
+#define LIVE_DISABLE live_disable(1)
+#define LIVE_ENABLE live_disable(-1)
+#else /* STACKCHECK */
+#define LIVE
+#define LIVE_DISABLE
+#define LIVE_ENABLE
+#endif /* STACKCHECK */
+
 
 #endif /* __CONFIG_H__ */