ref: 5c0f5cdda8b2700d05dcf4b3b9df0b6cd637e89c
parent: 7aa0c748b34a242ceb3609b0638674a1fe396931
parent: 91369fd9b7be7ccbc22b3b296a7ea601fb59f8d7
author: Johann Koenig <[email protected]>
date: Mon Jul 25 15:44:04 EDT 2016
Merge "Fix compilation error under Clang 4.0."
--- a/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c
+++ b/vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c
@@ -37,7 +37,7 @@
#if defined(__clang__)
# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ <= 3) || \
- (defined(__APPLE__) && \
+ (defined(__APPLE__) && defined(__apple_build_version__) && \
((__clang_major__ == 4 && __clang_minor__ <= 2) || \
(__clang_major__ == 5 && __clang_minor__ == 0)))