Commit 2c44965e authored by fbarchard@google.com's avatar fbarchard@google.com

make row_win windows code built with clangcl include the _posix source code.

depot_tools excludes these source files now, so they need to be manually
included.
BUG=435
TESTED=clangcl local build on windows
R=tpsiaki@google.com

Review URL: https://webrtc-codereview.appspot.com/49879004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1395 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 484e5d2d
......@@ -23,7 +23,12 @@ extern "C" {
// This module is for Visual C.
#if !defined(LIBYUV_DISABLE_X86) && (defined(_M_IX86) || defined(_M_X64)) && \
defined(_MSC_VER) && !defined(__clang__)
defined(_MSC_VER)
// ClangCL use posix source instead.
#if defined(__clang__)
#include "source/row_posix.cc"
#else
struct YuvConstants {
lvec8 kUVToB; // 0
......@@ -6415,6 +6420,7 @@ void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb, uint8* dst_argb,
#endif // HAS_ARGBLUMACOLORTABLEROW_SSSE3
#endif // defined(_M_X64)
#endif // defined(__clang__)
#endif // !defined(LIBYUV_DISABLE_X86) && (defined(_M_IX86) ...
#ifdef __cplusplus
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment