1
0
mirror of synced 2024-11-30 18:34:29 +01:00

fix: Standard jthread detection

This commit is contained in:
WerWolv 2023-11-02 20:41:47 +01:00
parent 407ec1ceb6
commit 615596dfe9
2 changed files with 3 additions and 3 deletions

View File

@ -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`

View File

@ -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