mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +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
314 B
C
15 lines
314 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 "@VERSION@" SCUMMVM_SVN_REVISION
|