Use clang front end ifdef for AVX2 instead of llvm backend.
BUG=269
TESTED=clang++ -c source/row_posix.cc -I include/
R=ryanpetrie@google.com
Review URL: https://webrtc-codereview.appspot.com/2266004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@796 16f28f9a-4ce2-e073-06de-1de4eb20be90
diff --git a/README.chromium b/README.chromium
index ca55e1c..796777e 100644
--- a/README.chromium
+++ b/README.chromium
@@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
-Version: 795
+Version: 796
License: BSD
License File: LICENSE
diff --git a/include/libyuv/row.h b/include/libyuv/row.h
index b3b1c29..4e3943b 100644
--- a/include/libyuv/row.h
+++ b/include/libyuv/row.h
@@ -146,7 +146,7 @@
// Caveat: llvm 3.1 required, but does not provide a version.
#if !defined(LIBYUV_DISABLE_X86) && \
((defined(_M_IX86) && defined(_MSC_VER) && _MSC_VER >= 1700) || \
- defined(__native_client__) || defined(__llvm__))
+ defined(__native_client__) || defined(__clang__))
// Effects:
#define HAS_ARGBPOLYNOMIALROW_AVX2
#endif
diff --git a/include/libyuv/version.h b/include/libyuv/version.h
index 1152055..7597a0d 100644
--- a/include/libyuv/version.h
+++ b/include/libyuv/version.h
@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
-#define LIBYUV_VERSION 795
+#define LIBYUV_VERSION 796
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT