From cb44f290435b245078526871dc37b8b8a528103c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 19 Oct 2009 16:55:51 +0000 Subject: Fix #19574: winbuildinfo.h error when compiling with cmake on windows. I've now removed winbuildinfo.h code and let scons on window just set environment vars like other operating systems. Note that cmake still doesn't get the date information on windows, implementation is missing for this. --- source/creator/buildinfo.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/creator') diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c index ac14010f572..3473814360b 100644 --- a/source/creator/buildinfo.c +++ b/source/creator/buildinfo.c @@ -32,13 +32,9 @@ #endif #ifdef BUILD_DATE -#if (!defined(WIN32) || defined(_WIN64)) const char * build_date=BUILD_DATE; const char * build_time=BUILD_TIME; const char * build_rev=BUILD_REV; const char * build_platform=BUILD_PLATFORM; const char * build_type=BUILD_TYPE; -#else -#include "winbuildinfo.h" -#endif #endif -- cgit v1.2.3