Skip to content

Commit

Permalink
Merge pull request #86 from Lukas0610/feature/patch-2.0
Browse files Browse the repository at this point in the history
Fix compilation of TLS-inl.hpp
  • Loading branch information
wopss authored Sep 24, 2023
2 parents 2abbb31 + 18b4a38 commit 266a6e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/RED4ext/TLS-inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <RED4ext/TLS.hpp>
#endif

#include <intrin.h>

RED4EXT_INLINE RED4ext::TLS* RED4ext::TLS::Get()
{
return *reinterpret_cast<TLS**>(__readgsqword(0x58));
Expand Down

0 comments on commit 266a6e1

Please sign in to comment.