Work on fixing compile for 4.0.

This commit is contained in:
Relintai 2022-02-08 11:52:53 +01:00
parent 4feb518620
commit 902dae2979

View File

@ -28,7 +28,10 @@ SOFTWARE.
#include "core/version.h" #include "core/version.h"
#if VERSION_MAJOR > 3 #if VERSION_MAJOR > 3
#include "core/object/reference.h" #include "core/object/ref_counted.h"
#ifndef Reference
#define Reference RefCounted
#endif
#include "core/variant/array.h" #include "core/variant/array.h"
#else #else
#include "core/reference.h" #include "core/reference.h"