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:
authorCampbell Barton <ideasman42@gmail.com>2013-08-26 23:32:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-26 23:32:03 +0400
commit11aa7a76fab53809f891ab8ff7898a2dd70005b8 (patch)
treed81938a1b6c3b0ff1ef3520fad40fe242522a896 /source/creator
parentc93750d893e25a9f2ffd98222aa63cc3852f8a37 (diff)
quiet warnings when building as a python module
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c3
1 files changed, 2 insertions, 1 deletions
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);