diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2004-03-05 18:20:52 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2004-03-05 18:20:52 +0300 |
commit | 9076b80db66e487e750d4bf0005f78f6f2c420b0 (patch) | |
tree | 3ab6ce98e1a4877e849d709e16407eff6b6a58a0 /source | |
parent | 811e144c6f25ec299340f881c0e33108c7576d20 (diff) |
* [SCons] enable BUILD_DATE for win32. Basically SCons creates an extra file in source/creator, which is included by buildinfo.c whenever BUILD_DATE is on and building on Windows. SCons automatically takes care of this dependency.
Diffstat (limited to 'source')
-rw-r--r-- | source/creator/buildinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c index 79df75af80b..feda7484f79 100644 --- a/source/creator/buildinfo.c +++ b/source/creator/buildinfo.c @@ -35,8 +35,12 @@ #endif #ifdef BUILD_DATE +#ifndef WIN32 char * build_date=BUILD_DATE; char * build_time=BUILD_TIME; char * build_platform=BUILD_PLATFORM; char * build_type=BUILD_TYPE; +#else +#include "winbuildinfo.h" +#endif #endif |