diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2013-08-15 00:35:10 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-08-15 00:37:12 +0200 |
commit | 5145248c91e37d9a73de2d3d026f80c863ff0176 (patch) | |
tree | 47d868eb297072235c78ca43e5434c9136dac8b5 /svx | |
parent | 2d16420993355068de4ff1d30568019d47eacb6c (diff) |
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
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeGeometry.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx index f5662b0a2513..007373ea0c68 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> |