aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/internal_version.h7
-rw-r--r--base/internal_version.h.in7
2 files changed, 6 insertions, 8 deletions
diff --git a/base/internal_version.h b/base/internal_version.h
index 2b00ce60d2..78b4fbd751 100644
--- a/base/internal_version.h
+++ b/base/internal_version.h
@@ -2,12 +2,11 @@
#error This file may only be included by base/version.cpp
#endif
-#ifndef SCUMMVM_SVN_REVISION
-#define SCUMMVM_SVN_REVISION ""
-#endif
-
#ifdef RELEASE_BUILD
#undef SCUMMVM_SVN_REVISION
+#endif
+
+#ifndef SCUMMVM_SVN_REVISION
#define SCUMMVM_SVN_REVISION
#endif
diff --git a/base/internal_version.h.in b/base/internal_version.h.in
index dacaf72d40..f50fa6b76d 100644
--- a/base/internal_version.h.in
+++ b/base/internal_version.h.in
@@ -2,12 +2,11 @@
#error This file may only be included by base/version.cpp
#endif
-#ifndef SCUMMVM_SVN_REVISION
-#define SCUMMVM_SVN_REVISION "@SVN_REVISION@"
-#endif
-
#ifdef RELEASE_BUILD
#undef SCUMMVM_SVN_REVISION
+#endif
+
+#ifndef SCUMMVM_SVN_REVISION
#define SCUMMVM_SVN_REVISION
#endif