[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32579] trunk/blender/source/blender/ blenlib/intern/math_base.c: fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.
Campbell Barton
ideasman42 at gmail.com
Tue Oct 19 06:25:17 CEST 2010
Revision: 32579
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32579
Author: campbellbarton
Date: 2010-10-19 06:25:16 +0200 (Tue, 19 Oct 2010)
Log Message:
-----------
fix for implicit declaration, not sure why this happens but OpenSuse 11.1 wouldn't build.
Modified Paths:
--------------
trunk/blender/source/blender/blenlib/intern/math_base.c
Modified: trunk/blender/source/blender/blenlib/intern/math_base.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/math_base.c 2010-10-19 02:50:00 UTC (rev 32578)
+++ trunk/blender/source/blender/blenlib/intern/math_base.c 2010-10-19 04:25:16 UTC (rev 32579)
@@ -52,7 +52,8 @@
y += 1.0;
return copysign(y, x);
}
-
+#else /* OpenSuse 11.1 seems to need this. */
+double round(double x);
#endif
More information about the Bf-blender-cvs
mailing list