Work on fixing compile for 4.0.

This commit is contained in:
Relintai 2022-02-07 00:21:17 +01:00
parent 06c56fcb37
commit 2192f2c54c

View File

@ -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