aboutsummaryrefslogtreecommitdiff
path: root/support/ToolchainSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/ToolchainSupport.h')
-rw-r--r--support/ToolchainSupport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/support/ToolchainSupport.h b/support/ToolchainSupport.h
index cddcd542c8..8ea50ebe15 100644
--- a/support/ToolchainSupport.h
+++ b/support/ToolchainSupport.h
@@ -310,6 +310,7 @@ inline bool isfinite(bfloat16 value)
return std::isfinite(float(value));
}
+#if !defined(_WIN64)
// std::signbit
template <typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
inline bool signbit(T value)
@@ -326,6 +327,7 @@ inline bool signbit(bfloat16 value)
{
return std::signbit(float(value));
}
+#endif // !defined(_WIN64)
} // namespace cpp11
} // namespace support
} // namespace arm_compute