lib: clear error in clock_snapshots_are_monotonic_one
[babeltrace.git] / src / lib / assert-post.h
index a5de1dc43b4ed80ba4a98a193d1f34f962277635..2cc359b4078445adaad91722641d039fb1c8c716 100644 (file)
 # error Include "lib/logging.h" before this header.
 #endif
 
+#include <stdbool.h>
 #include <stdlib.h>
 #include <inttypes.h>
 #include "common/macros.h"
+#include "common/common.h"
 
 /*
  * Prints the details of an unsatisfied postcondition without
@@ -95,7 +97,7 @@
                        BT_ASSERT_POST_MSG("Babeltrace 2 library postcondition not satisfied; error is:"); \
                        BT_ASSERT_POST_MSG(_fmt, ##__VA_ARGS__);        \
                        BT_ASSERT_POST_MSG("Aborting...");              \
-                       abort();                                        \
+                       bt_common_abort();                                      \
                }                                                       \
        } while (0)
 
This page took 0.024278 seconds and 4 git commands to generate.