Do not use `bool` type; use new `bt_bool` instead
[babeltrace.git] / include / babeltrace / ctf-writer / serialize-internal.h
index 6095ae646da6d54df0fc393f89b83c2b86ebb10c..6471993c23a5c739c5e3e1b87c1446fb46c354d3 100644 (file)
@@ -37,6 +37,7 @@
 #include <babeltrace/ctf-ir/fields-internal.h>
 #include <babeltrace/align-internal.h>
 #include <babeltrace/mmap-align-internal.h>
+#include <babeltrace/types.h>
 
 struct bt_ctf_stream_pos {
        int fd;
@@ -130,7 +131,7 @@ int bt_ctf_stream_pos_init(struct bt_ctf_stream_pos *pos,
                pos->flags = MAP_SHARED;
                break;
        default:
-               assert(false);
+               assert(BT_FALSE);
        }
 
        return 0;
This page took 0.024231 seconds and 4 git commands to generate.