Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intgemm/intgemm.cc')
-rw-r--r--intgemm/intgemm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/intgemm/intgemm.cc b/intgemm/intgemm.cc
index e5fe1b0..340021f 100644
--- a/intgemm/intgemm.cc
+++ b/intgemm/intgemm.cc
@@ -117,7 +117,7 @@ CPUType GetCPUID() {
const CPUType kCPU = GetCPUID();
void UnsupportedCPUError() {
-#if defined(_MSC_VER) ? defined(_HAS_EXCEPTIONS) : defined(__EXCEPTIONS)
+#if defined(_MSC_VER) ? (_HAS_EXCEPTIONS != 0) : (__EXCEPTIONS != 0)
throw UnsupportedCPU();
#else
std::cerr << "intgemm does not support this CPU" << std::endl;