fix: Standard jthread detection
This commit is contained in:
parent
407ec1ceb6
commit
615596dfe9
2
dist/compiling/macos.md
vendored
2
dist/compiling/macos.md
vendored
@ -1,6 +1,6 @@
|
||||
### Compiling ImHex on macOS
|
||||
|
||||
On macOS, ImHex is built through regular GCC and AppleClang.
|
||||
On macOS, ImHex is built through regular GCC and LLVM clang.
|
||||
|
||||
1. Clone the repo using `git clone https://github.com/WerWolv/ImHex --recurse-submodules`
|
||||
2. Install all the dependencies using `brew bundle --no-lock --file dist/Brewfile`
|
||||
|
4
lib/external/jthread/includes/jthread.hpp
vendored
4
lib/external/jthread/includes/jthread.hpp
vendored
@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#if __has_include(<jthread>)
|
||||
#include <jthread>
|
||||
#if __cpp_lib_jthread >= 201911L
|
||||
#include <thread>
|
||||
#else
|
||||
#include "../jthread/source/jthread.hpp"
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user