mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-02 11:59:49 -06: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:
@ -200,8 +200,8 @@ std::tuple<void*, size_t> GetCurrentThreadStack()
|
|||||||
stack_t stack;
|
stack_t stack;
|
||||||
pthread_stackseg_np(self, &stack);
|
pthread_stackseg_np(self, &stack);
|
||||||
|
|
||||||
stack_addr = reinterpret_cast<u8*>(stack->ss_sp) - stack->ss_size;
|
stack_addr = reinterpret_cast<u8*>(stack.ss_sp) - stack.ss_size;
|
||||||
stack_size = stack->ss_size;
|
stack_size = stack.ss_size;
|
||||||
#else
|
#else
|
||||||
pthread_attr_t attr;
|
pthread_attr_t attr;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user