mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 20:51:31 +00:00
savegame: ensure that BUILD_DATE is defined
The game code does not include common.h, so it needs to redo this part for builds without SOURCE_DATE_EPOCH, where BUILD_DATE will not have been passed in from the outside. Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
0da70104e2
commit
38ff49e480
1 changed files with 4 additions and 0 deletions
|
@ -73,6 +73,10 @@
|
|||
*/
|
||||
#define SAVEGAMEVER "YQ2-2"
|
||||
|
||||
#ifndef BUILD_DATE
|
||||
#define BUILD_DATE __DATE__
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This macros are used to prohibit loading of savegames
|
||||
* created on other systems or architectures. This will
|
||||
|
|
Loading…
Reference in a new issue