]> granicus.if.org Git - libvpx/blobdiff - vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c
Fix compilation error under Clang 4.0.
[libvpx] / vpx_dsp / x86 / vpx_subpixel_8t_intrin_avx2.c
index cbd22dcd0e6833f7d5307eb4a1c0839f157f56da..01cf4354a0938aee25c27bd192099729d16f123b 100644 (file)
@@ -37,7 +37,7 @@ DECLARE_ALIGNED(32, static const uint8_t, filt4_global_avx2[32]) = {
 
 #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)))