scummvm/base/internal_version.h
Max Horn 1b10444377 BUILD: Limit scope of SCUMMVM_SVN_REVISION and SCUMMVM_VERSION macros
Only #define SCUMMVM_SVN_REVISION for base/version.cpp (at most), to
avoid having all source files implicitly depend on the SVN revision.
Also add a safeguard to prevent code from accidentally using the
internal header file base/internal_version.h.

svn-id: r51978
2010-08-11 12:50:18 +00:00

15 lines
313 B
C

#ifndef INCLUDED_FROM_BASE_VERSION_CPP
#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
#define SCUMMVM_SVN_REVISION
#endif
#define SCUMMVM_VERSION "1.2.0svn" SCUMMVM_SVN_REVISION