1
0
mirror of synced 2025-01-10 13:31:52 +01:00

11 lines
278 B
C++
Raw Normal View History

#pragma once
2023-11-02 20:41:47 +01:00
#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