From c389e32dc619457975a3a09c646205fd51954198 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Sun, 19 Oct 2025 10:22:11 +0100 Subject: [PATCH] core: add B_NPOS definition --- core/include/blue/core/misc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/include/blue/core/misc.h b/core/include/blue/core/misc.h index 6484f3f..3e06ddf 100644 --- a/core/include/blue/core/misc.h +++ b/core/include/blue/core/misc.h @@ -8,6 +8,8 @@ #define _Nonnull #endif +#define B_NPOS ((size_t)-1) + #define b_min(type, x, y) (z__b_min_##type(x, y)) #define b_max(type, x, y) (z__b_max_##type(x, y))