summaryrefslogtreecommitdiffstats
path: root/comphelper/inc
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 /comphelper/inc
parentfdo#39445 writing out tools/fsys.hxx (rsc) (diff)
downloadcore-d684a3cad91a81480b8856a1bffc24577e986866.tar.gz
core-d684a3cad91a81480b8856a1bffc24577e986866.zip
_USE_MATH_DEFINES is already taken care of by sal/config.h
Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
Diffstat (limited to 'comphelper/inc')
-rw-r--r--comphelper/inc/comphelper/stl_types.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/comphelper/inc/comphelper/stl_types.hxx b/comphelper/inc/comphelper/stl_types.hxx
index 4232f087ef9d..1292f698a54a 100644
--- a/comphelper/inc/comphelper/stl_types.hxx
+++ b/comphelper/inc/comphelper/stl_types.hxx
@@ -19,18 +19,14 @@
#ifndef _COMPHELPER_STLTYPES_HXX_
#define _COMPHELPER_STLTYPES_HXX_
+#include "sal/config.h"
+
#include <vector>
#include <map>
#include <stack>
#include <set>
-#ifdef _MSC_VER
-# ifndef _USE_MATH_DEFINES
-# define _USE_MATH_DEFINES // needed by Visual C++ for math constants
-# endif
-#endif
-
#include <math.h> // prevent conflict between exception and std::exception
#include <functional>