aboutsummaryrefslogtreecommitdiff
path: root/base/internal_version.h.in
diff options
context:
space:
mode:
authorCameron Cawley2018-11-13 18:48:54 +0000
committerDavid Turner2018-11-16 09:14:37 +0000
commit8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c (patch)
tree8212c47cd101e98fadbc1f17baa319bfaf81f5ee /base/internal_version.h.in
parentcf1d0354fe399a21068a59d210becc0cbc162e8e (diff)
downloadscummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.tar.gz
scummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.tar.bz2
scummvm-rg350-8c6f9e5116dc6f46e166d8a32f9a9b905ea8634c.zip
WIN32: Retrieve the version information for the resource script from base/internal_version.h
Diffstat (limited to 'base/internal_version.h.in')
-rw-r--r--base/internal_version.h.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/base/internal_version.h.in b/base/internal_version.h.in
index e2b46f54ce..01a62cd2d0 100644
--- a/base/internal_version.h.in
+++ b/base/internal_version.h.in
@@ -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 "@VERSION@" SCUMMVM_REVISION
+#define SCUMMVM_VERSION "@VERSION@"
+
+#define SCUMMVM_VER_MAJOR @VER_MAJOR@
+#define SCUMMVM_VER_MINOR @VER_MINOR@
+#define SCUMMVM_VER_PATCH @VER_PATCH@