diff options
| author | Léo Lam <leo@leolam.fr> | 2023-04-30 02:14:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-30 02:14:41 +0100 |
| commit | 3c9162f35ebddffdbccbe2c8f6e9a5d64e060374 (patch) | |
| tree | b527a05680811cbf23536b3eb3241397865f6876 /Source | |
| parent | f36e05ad3ef74f5c37be3aff6e03dd2157c8981e (diff) | |
| parent | 29a8226ac5ce3504a60cfea71414105ef9f1e67c (diff) | |
Merge pull request #11807 from brad0/openbsd_thread_cpp_build_fix
Fix building on OpenBSD
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Common/Thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Thread.cpp b/Source/Core/Common/Thread.cpp index 810db15d78..4c8a61b386 100644 --- a/Source/Core/Common/Thread.cpp +++ b/Source/Core/Common/Thread.cpp @@ -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; |
