[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59533] trunk/blender/source/creator/ creator.c: quiet warnings when building as a python module
Campbell Barton
ideasman42 at gmail.com
Mon Aug 26 21:32:03 CEST 2013
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);
More information about the Bf-blender-cvs
mailing list