Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11807 from brad0/openbsd_thread_cpp_build_fix
Fix building on OpenBSD
  • Loading branch information
leoetlino committed Apr 30, 2023
2 parents f36e05a + 29a8226 commit 3c9162f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Common/Thread.cpp
Expand Up @@ -200,8 +200,8 @@ std::tuple<void*, size_t> GetCurrentThreadStack()
stack_t stack;
pthread_stackseg_np(self, &stack);

stack_addr = reinterpret_cast<u8*>(stack->ss_sp) - stack->ss_size;
stack_size = stack->ss_size;
stack_addr = reinterpret_cast<u8*>(stack.ss_sp) - stack.ss_size;
stack_size = stack.ss_size;
#else
pthread_attr_t attr;

Expand Down

0 comments on commit 3c9162f

Please sign in to comment.