mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Adjust version header to resolve linker conflict with two definitions of love::VERSION in android builds
NOTE: Sadly, on some platforms, like linux, the linker is "smart" enough to have the previous code be completely ineffective, the checking will only work with versions of love >= 0.9.2
This commit is contained in:
@@ -25,10 +25,11 @@ namespace love
|
||||
{
|
||||
|
||||
// Version stuff.
|
||||
#define LOVE_VERSION_STRING "0.9.2"
|
||||
const int VERSION_MAJOR = 0;
|
||||
const int VERSION_MINOR = 9;
|
||||
const int VERSION_REV = 2;
|
||||
const char *VERSION = "0.9.2";
|
||||
const char *VERSION = LOVE_VERSION_STRING;
|
||||
const char *VERSION_COMPATIBILITY[] = { VERSION, "0.9.1", "0.9.0", 0 };
|
||||
const char *VERSION_CODENAME = "Baby Inspector";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user