Skip to content

Commit

Permalink
Change stack_depth_t to size_t on OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
Despereaux Polacre committed Jan 4, 2025
1 parent 2f6c704 commit ab3c204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libponyrt/platform/ponyassert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab3c204

Please sign in to comment.