From 8f21a43535cb200c0569566a1b012aec883aa53c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2011 18:36:47 +0000 Subject: split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes. --- source/creator/buildinfo.c | 5 ++++- source/creator/creator.c | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'source/creator') diff --git a/source/creator/buildinfo.c b/source/creator/buildinfo.c index 2203a97aa91..c3b9ea56c45 100644 --- a/source/creator/buildinfo.c +++ b/source/creator/buildinfo.c @@ -28,7 +28,10 @@ */ #ifdef BUILD_DATE -#include "BKE_utildefines.h" + +/* copied from BLI_utildefines.h */ +#define STRINGIFY_ARG(x) #x +#define STRINGIFY(x) STRINGIFY_ARG(x) char build_date[]= STRINGIFY(BUILD_DATE); char build_time[]= STRINGIFY(BUILD_TIME); diff --git a/source/creator/creator.c b/source/creator/creator.c index 5b994be2c06..1a0188e0c47 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -58,6 +58,7 @@ #include "BLI_args.h" #include "BLI_threads.h" #include "BLI_scanfill.h" // for BLI_setErrorCallBack, TODO, move elsewhere +#include "BLI_utildefines.h" #include "DNA_ID.h" #include "DNA_scene_types.h" -- cgit v1.2.3