From ab3c2043fcac19567ba24413f1ba80e2d10ba9e3 Mon Sep 17 00:00:00 2001 From: Despereaux Polacre Date: Sat, 4 Jan 2025 12:37:23 +0100 Subject: [PATCH] Change stack_depth_t to size_t on OpenBSD --- src/libponyrt/platform/ponyassert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libponyrt/platform/ponyassert.c b/src/libponyrt/platform/ponyassert.c index 66ef033a59..11d3547fd8 100644 --- a/src/libponyrt/platform/ponyassert.c +++ b/src/libponyrt/platform/ponyassert.c @@ -20,7 +20,7 @@ static PONY_ATOMIC_INIT(bool, assert_guard, false); #ifdef PLATFORM_IS_POSIX_BASED -#if defined(PLATFORM_IS_BSD) && !defined(PLATFORM_IS_OPENBSD) +#if defined(PLATFORM_IS_BSD) typedef size_t stack_depth_t; #else typedef int stack_depth_t;