From 77346fcb4a6ffb81c70400e9b7417bc1d4ce5a4f Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Mon, 14 Dec 2015 21:36:12 -0800 Subject: [PATCH] disable I411ToARGB assembly if _DEBUG for chromium, as well as DEBUG for other builds. TBR=harryjin@google.com BUG=libyuv:533 Review URL: https://codereview.chromium.org/1527903002 . --- include/libyuv/row.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libyuv/row.h b/include/libyuv/row.h index 31de3e089..c6db06b5b 100644 --- a/include/libyuv/row.h +++ b/include/libyuv/row.h @@ -107,7 +107,8 @@ extern "C" { #define HAS_I400TOARGBROW_SSE2 // The following functions fail on gcc/clang 32 bit. // caveat: clangcl uses row_win.cc which works. -#if !defined(__i386__) || !defined(DEBUG) || defined(_MSC_VER) +#if !(defined(DEBUG) || defined(_DEBUG)) || !defined(__i386__) || \ + defined(_MSC_VER) // TODO(fbarchard): fix build error on x86 debug // https://code.google.com/p/libyuv/issues/detail?id=524 #define HAS_I411TOARGBROW_SSSE3