diff --git a/dist/compiling/macos.md b/dist/compiling/macos.md index 3ca6d0976..931f697c4 100644 --- a/dist/compiling/macos.md +++ b/dist/compiling/macos.md @@ -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` diff --git a/lib/external/jthread/includes/jthread.hpp b/lib/external/jthread/includes/jthread.hpp index 12c19d5ed..78b23f66d 100644 --- a/lib/external/jthread/includes/jthread.hpp +++ b/lib/external/jthread/includes/jthread.hpp @@ -1,7 +1,7 @@ #pragma once -#if __has_include() - #include +#if __cpp_lib_jthread >= 201911L + #include #else #include "../jthread/source/jthread.hpp" #endif \ No newline at end of file