From 023c0985066748f0f3b6c9fbf00179a80e6ced24 Mon Sep 17 00:00:00 2001 From: XProger Date: Thu, 21 Jun 2018 06:11:43 +0300 Subject: [PATCH] add __DATE__ macro for build info --- src/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.h b/src/core.h index 0f34118..4910cf8 100644 --- a/src/core.h +++ b/src/core.h @@ -590,10 +590,10 @@ namespace Core { namespace Core { - static const char *version = "22.05.2018"; + static const char *version = __DATE__; void init() { - LOG("OpenLara %s\n", version); + LOG("OpenLara (%s)\n", version); x = y = 0; #ifdef USE_INFLATE