Revision: 59533
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59533
Author: campbellbarton
Date: 2013-08-26 19:32:03 +0000 (Mon, 26 Aug 2013)
Log Message:
-----------
quiet warnings when building as a python module
Modified Paths:
--------------
trunk/blender/source/creator/creator.c
Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c 2013-08-26 17:50:16 UTC (rev
59532)
+++ trunk/blender/source/creator/creator.c 2013-08-26 19:32:03 UTC (rev
59533)
@@ -174,11 +174,12 @@
#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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs