mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-25 03:07:06 +00:00
1b10444377
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
15 lines
313 B
C
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
|