mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
build: Fix building issues on macOS with clang 18
This commit is contained in:
4
lib/third_party/jthread/includes/jthread.hpp
vendored
4
lib/third_party/jthread/includes/jthread.hpp
vendored
@@ -3,5 +3,9 @@
|
||||
#if __cpp_lib_jthread >= 201911L
|
||||
#include <thread>
|
||||
#else
|
||||
#define __stop_callback_base __stop_callback_base_j
|
||||
#define __stop_state __stop_state_j
|
||||
#include "../jthread/source/jthread.hpp"
|
||||
#undef __stop_callback_base
|
||||
#undef __stop_state
|
||||
#endif
|
||||
Reference in New Issue
Block a user