Renamed stacktrace to memtrace
[runtime.git] / lib / silcutil / silcruntime.h.in
index 53d45ea8a4183fac6790c073b6a28208c5a1222f..6d20103c6d962a7b971ae9ccfaed2150cf252a8d 100644 (file)
@@ -51,7 +51,7 @@
    configured/compiled. */
 @__SILC_HAVE_PTHREAD@
 @__SILC_ENABLE_DEBUG@
-@__SILC_ENABLE_STACKTRACE@
+@__SILC_ENABLE_MEMTRACE@
 @__SILC_VA_COPY@
 
 /* Types */
@@ -109,6 +109,7 @@ extern "C" {
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <stdarg.h>
 
 #if defined(HAVE_RUNTIMEDEFS_H)
 
@@ -192,10 +193,10 @@ extern "C" {
 #define SILC_DEBUG 1
 #endif /* __SILC_ENABLE_DEBUG */
 
-#ifdef __SILC_ENABLE_STACKTRACE
-#undef SILC_STACKTRACE
-#define SILC_STACKTRACE 1
-#endif /* __SILC_ENABLE_STACKTRACE */
+#ifdef __SILC_ENABLE_MEMTRACE
+#undef SILC_MEMTRACE
+#define SILC_MEMTRACE 1
+#endif /* __SILC_ENABLE_MEMTRACE */
 
 /* SILC Runtime Toolkit includes */
 #include <silctypes.h>