From 2192f2c54c1e69b80d0d65f77e257ea9df0baeed Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 7 Feb 2022 00:21:17 +0100 Subject: [PATCH] Work on fixing compile for 4.0. --- thread_pool_job.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thread_pool_job.h b/thread_pool_job.h index c25ac57..9442e61 100644 --- a/thread_pool_job.h +++ b/thread_pool_job.h @@ -26,7 +26,10 @@ SOFTWARE. #include "core/version.h" #if VERSION_MAJOR > 3 -#include "core/object/reference.h" +#include "core/object/ref_counted.h" +#ifndef Reference +#define Reference RefCounted +#endif #else #include "core/reference.h" #endif