mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Fix building on OpenBSD
86c1f6e1e7
introduced code that had not
been build tested on OpenBSD.
https://bugs.dolphin-emu.org/issues/13241
This commit is contained in:
parent
eb30aba552
commit
29a8226ac5
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user