summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-12 14:34:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-12 14:34:10 +0200
commit2685678cd0221f4522e8502183baeaecb5ddd0a4 (patch)
treeeb7fc9959fc897d3dc2e3e654bc1149ad7522240 /include
parent86eb71c4789dc5ab0200f49f7e5bca512ef4adaf (diff)
Revert "Work around clang-cl issue with MSVC's safeint.h for now"
This reverts commit acbb7e3243afec515bf98b2b34454afc5320bf66. No longer needed with safeint.h from recent "Windows Software Development Kit - Windows 10.0.15063.137".
Diffstat (limited to 'include')
-rw-r--r--include/o3tl/safeint.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/o3tl/safeint.hxx b/include/o3tl/safeint.hxx
index e4eee64ff2fd..ce144d22d9ea 100644
--- a/include/o3tl/safeint.hxx
+++ b/include/o3tl/safeint.hxx
@@ -11,7 +11,7 @@
#define INCLUDED_O3TL_SAFEINT_HXX
#include <limits>
-#if defined(_MSC_VER) && !defined __clang__
+#if defined(_MSC_VER)
#include <safeint.h>
#else
#ifndef __has_builtin
@@ -22,7 +22,7 @@
namespace o3tl
{
-#if defined(_MSC_VER) && !defined __clang__
+#if defined(_MSC_VER)
template<typename T> inline bool checked_multiply(T a, T b, T& result)
{