From 11aa7a76fab53809f891ab8ff7898a2dd70005b8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Aug 2013 19:32:03 +0000 Subject: quiet warnings when building as a python module --- source/creator/creator.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/creator') diff --git a/source/creator/creator.c b/source/creator/creator.c index 27fd9427da7..083fc5e128b 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -174,11 +174,12 @@ static int print_version(int argc, const char **argv, void *data); #endif /* for the callbacks: */ - +#ifndef WITH_PYTHON_MODULE #define BLEND_VERSION_FMT "Blender %d.%02d (sub %d)" #define BLEND_VERSION_ARG BLENDER_VERSION / 100, BLENDER_VERSION % 100, BLENDER_SUBVERSION /* pass directly to printf */ #define BLEND_VERSION_STRING_FMT BLEND_VERSION_FMT "\n", BLEND_VERSION_ARG +#endif /* Initialize callbacks for the modules that need them */ static void setCallbacks(void); -- cgit v1.2.3