2023-11-02 20:21:38 +01:00
|
|
|
#pragma once
|
|
|
|
|
2023-11-02 20:41:47 +01:00
|
|
|
#if __cpp_lib_jthread >= 201911L
|
|
|
|
#include <thread>
|
2023-11-02 20:21:38 +01:00
|
|
|
#else
|
2024-09-08 10:45:38 +02:00
|
|
|
#define __stop_callback_base __stop_callback_base_j
|
|
|
|
#define __stop_state __stop_state_j
|
2023-11-02 20:21:38 +01:00
|
|
|
#include "../jthread/source/jthread.hpp"
|
2024-09-08 10:45:38 +02:00
|
|
|
#undef __stop_callback_base
|
|
|
|
#undef __stop_state
|
2023-11-02 20:21:38 +01:00
|
|
|
#endif
|