mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
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
This commit is contained in:
parent
484e5d2d23
commit
2c44965e8d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user