svx/source/customshapes/EnhancedCustomShapeGeometry.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 5145248c91e37d9a73de2d3d026f80c863ff0176 Author: Thorsten Behrens <tbehr...@suse.com> Date: Thu Aug 15 00:35:10 2013 +0200 Better fix for msvc 2012 build fix. Don't sprinkle code base with random defines, this is all done in sal/config.hxx. Nominally, that file needs to always be included first. Change-Id: Iafa851ea6fd1ba5457dab497566d39d0226e5ecb diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx index f5662b0..007373e 100644 --- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifdef WNT -#define _USE_MATH_DEFINES // for M_SQRT2 -#endif +#include <sal/config.h> #include <cmath> #include <limits> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits