Kaydet (Commit) 5cca1c3f authored tarafından Jesús Corrius's avatar Jesús Corrius Kaydeden (comit) Michael Stahl

Fix Windows build for Visual Studio 2012

For more information see:

http://msdn.microsoft.com/en-us/library/4hwaceh6(v=vs.110).aspx

Also it looks like limits includes math somehow so move the include lower.

Change-Id: Ifec3a59370f7ad0e4bdc58c470e4f14f7db33660
Reviewed-on: https://gerrit.libreoffice.org/5423Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst c90ecd31
...@@ -17,8 +17,12 @@ ...@@ -17,8 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <limits> #ifdef WNT
#define _USE_MATH_DEFINES // for M_SQRT2
#endif
#include <cmath> #include <cmath>
#include <limits>
#include "svx/EnhancedCustomShapeGeometry.hxx" #include "svx/EnhancedCustomShapeGeometry.hxx"
#include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp> #include <com/sun/star/drawing/EnhancedCustomShapeGluePointType.hpp>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment