Merged silc_1_0_branch to trunk.
[silc.git] / lib / silcutil / silcmemory.h
index 233f38943618080124475725052af96dad449dbe..149e8c9044d9f72045ccc78dd82818507eefb7ee 100644 (file)
@@ -120,6 +120,10 @@ void silc_free(void *ptr);
 void *silc_memdup(const void *ptr, size_t size);
 
 #else
+#ifndef SILC_DIST_TOOLKIT
+#error "The stack trace is not supported in this distribution"
+#endif /* SILC_DIST_TOOLKIT */
+
 #include "stacktrace.h"
 #endif /* SILC_STACKTRACE */