Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2004-03-05 18:20:52 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2004-03-05 18:20:52 +0300
commit9076b80db66e487e750d4bf0005f78f6f2c420b0 (patch)
tree3ab6ce98e1a4877e849d709e16407eff6b6a58a0 /source/creator/buildinfo.c
parent811e144c6f25ec299340f881c0e33108c7576d20 (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/creator/buildinfo.c')
-rw-r--r--source/creator/buildinfo.c4
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