summaryrefslogtreecommitdiff
path: root/spice_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'spice_common.h')
-rw-r--r--spice_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/spice_common.h b/spice_common.h
index bc74486..6c5154c 100644
--- a/spice_common.h
+++ b/spice_common.h
@@ -22,9 +22,11 @@
#include <stdint.h>
#include <time.h>
#include <stdlib.h>
+#include "backtrace.h"
#define ASSERT(x) if (!(x)) { \
printf("%s: ASSERT %s failed\n", __FUNCTION__, #x); \
+ spice_backtrace(); \
abort(); \
}