diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 21:36:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 21:36:47 +0300 |
commit | 8f21a43535cb200c0569566a1b012aec883aa53c (patch) | |
tree | e41eeff28b248000af473053c59990eb3497bf3a /source/creator | |
parent | a601fd889331c319803daa7505c2c8016f15a47f (diff) |
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.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/buildinfo.c | 5 | ||||
-rw-r--r-- | source/creator/creator.c | 1 |
2 files changed, 5 insertions, 1 deletions
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" |