summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 10:00:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-27 09:36:49 +0100
commitd684a3cad91a81480b8856a1bffc24577e986866 (patch)
tree976de2c4853042c40bcf35ab55e4d757f24ca1bc /vcl/source
parentfee08758d149b6d681952c3ac95e195da7cfa6bc (diff)
_USE_MATH_DEFINES is already taken care of by sal/config.h
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx3
-rw-r--r--vcl/source/gdi/sallayout.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 70ccd943591a..d49f5fac0794 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -17,7 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#define _USE_MATH_DEFINES
+#include "sal/config.h"
+
#include <math.h>
#include <algorithm>
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 9df49c42f69b..10cde2e4636d 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -17,10 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include "sal/config.h"
#include <cstdio>
-#define _USE_MATH_DEFINES
#include <math.h>
#include <sal/alloca.h>