mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Fix building on OpenBSD
86c1f6e1e7e2abcc3f42e1182134e632b218b6d3 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;
|
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user