Added autodetecting to appropriate use of silc_va_copy.
[runtime.git] / lib / silcutil / silcruntime.h.in
index a80d383285161d633f3b6e7d7bdcf32eca33e81c..d0bc898c94f17eacfe76fc79cac36a9a8bb06a03 100644 (file)
@@ -51,6 +51,8 @@
    configured/compiled. */
 @__SILC_HAVE_PTHREAD@
 @__SILC_ENABLE_DEBUG@
+@__SILC_ENABLE_STACKTRACE@
+@__SILC_VA_COPY@
 
 /* Types */
 #define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
@@ -190,6 +192,11 @@ 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 */
+
 /* SILC Runtime Toolkit includes */
 #include <silcerrno.h>
 #include <silctypes.h>