Skip to content
Snippets Groups Projects

reworked build system

Merged Nigel Kukard requested to merge nkukard/containers-mariadb:nkupdates-edge into edge
Compare and
3 files
+ 51
19
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 21
0
https://jira.mariadb.org/browse/MDEV-24131
diff --git a/unittest/mysys/stacktrace-t.c b/unittest/mysys/stacktrace-t.c
index 8fa0db15b36..67eb099028e 100644
--- a/unittest/mysys/stacktrace-t.c
+++ b/unittest/mysys/stacktrace-t.c
@@ -22,6 +22,14 @@
char b_bss[10];
+#ifndef HAVE_STACKTRACE
+int my_safe_print_str(const char* val, size_t max_len)
+{
+ printf("%*s\n", (int) max_len, val);
+ return 0;
+}
+#endif
+
void test_my_safe_print_str()
{
char b_stack[10];
Loading