summaryrefslogtreecommitdiff
path: root/tools/source/generic/poly2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/poly2.cxx')
-rw-r--r--tools/source/generic/poly2.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index 4dcfb510339e..d73570279027 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: poly2.cxx,v $
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
* This file is part of OpenOffice.org.
*
@@ -45,10 +45,6 @@ extern "C"
#endif // HAVE_GPC_H
}
-/*
-#include <cstring>
-#include <cmath>
-*/
#include <poly.h>
#ifndef _POLY_HXX
#include <tools/poly.hxx>
@@ -63,7 +59,11 @@ extern "C"
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#endif
+#if defined(_MSC_VER) && (_MSC_VER <= 1310)
+// Windows .Net2003 compiler: do not include cmath
+#else
#include <cmath>
+#endif
// ---------------
// - PolyPolygon -