From 8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 13 Nov 2018 18:48:54 +0000 Subject: WIN32: Retrieve the version information for the resource script from base/internal_version.h --- base/internal_version.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'base/internal_version.h') diff --git a/base/internal_version.h b/base/internal_version.h index 5a4b8ad986..80f839f0e4 100644 --- a/base/internal_version.h +++ b/base/internal_version.h @@ -1,5 +1,5 @@ -#ifndef INCLUDED_FROM_BASE_VERSION_CPP -#error This file may only be included by base/version.cpp +#if !defined(INCLUDED_FROM_BASE_VERSION_CPP) && !defined(RC_INVOKED) +#error This file may only be included by base/version.cpp or dists/scummvm.rc #endif // Reads revision number from file @@ -16,4 +16,8 @@ #define SCUMMVM_REVISION #endif -#define SCUMMVM_VERSION "2.1.0git" SCUMMVM_REVISION +#define SCUMMVM_VERSION "2.1.0git" + +#define SCUMMVM_VER_MAJOR 2 +#define SCUMMVM_VER_MINOR 1 +#define SCUMMVM_VER_PATCH 0 -- cgit v1.2.3