diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-27 14:41:16 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-28 20:53:40 +0200 |
commit | a3ce60eb3c8bb5c69ab41556398efa8316286477 (patch) | |
tree | a9600fdf96ab53a1aef150fd9c4a1e8c23b9eb90 /sal/rtl | |
parent | abfe16cec61eae33c64cb1901f0fc740b0466f60 (diff) |
We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.
Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/source/string.cxx | 2 | ||||
-rw-r--r-- | sal/rtl/source/ustring.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/rtl/source/string.cxx b/sal/rtl/source/string.cxx index 89d69c592ed2..a68c0932d115 100644 --- a/sal/rtl/source/string.cxx +++ b/sal/rtl/source/string.cxx @@ -19,7 +19,7 @@ #include "sal/config.h" -#if defined(_MSC_VER) && (_MSC_VER >= 1400) +#ifdef _MSC_VER #pragma warning(disable:4738) // storing 32-bit float result in memory, possible loss of performance #endif diff --git a/sal/rtl/source/ustring.cxx b/sal/rtl/source/ustring.cxx index 0216428da5ab..bdebd897a71b 100644 --- a/sal/rtl/source/ustring.cxx +++ b/sal/rtl/source/ustring.cxx @@ -19,7 +19,7 @@ #include "sal/config.h" -#if defined(_MSC_VER) && (_MSC_VER >= 1400) +#ifdef _MSC_VER #pragma warning(disable:4738) // storing 32-bit float result in memory, possible loss of performance #endif |