summaryrefslogtreecommitdiff
path: root/vpx_ports
diff options
context:
space:
mode:
authorJia Jia <jia.jia@linaro.org>2014-09-10 06:32:21 +0000
committerJia Jia <jia.jia@linaro.org>2014-09-14 01:43:54 +0800
commit0ae866bd199d21e26c1cc3c3f1cf7defdfe0be80 (patch)
tree8925188718108fe00ac3448b38018cedd489c4b8 /vpx_ports
parentc0dfecfb893c8399b97970239689bf53bfe49096 (diff)
downloadlibvpx-0ae866bd199d21e26c1cc3c3f1cf7defdfe0be80.tar
libvpx-0ae866bd199d21e26c1cc3c3f1cf7defdfe0be80.tar.gz
libvpx-0ae866bd199d21e26c1cc3c3f1cf7defdfe0be80.tar.bz2
libvpx-0ae866bd199d21e26c1cc3c3f1cf7defdfe0be80.zip
vp8/vp9: neon: msvc: move the 'ifdef _MSC_VER' bit to vpx_ports/mem.h.
fix compiling warning. Change-Id: If8706a9046436f704c597e4275a6810c76ba7daa
Diffstat (limited to 'vpx_ports')
-rw-r--r--vpx_ports/mem.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vpx_ports/mem.h b/vpx_ports/mem.h
index e91d77694..1cb8c8cd9 100644
--- a/vpx_ports/mem.h
+++ b/vpx_ports/mem.h
@@ -23,7 +23,6 @@
#warning No alignment directives known for this compiler.
#define DECLARE_ALIGNED(n,typ,val) typ val
#endif
-#endif
/* Declare an aligned array on the stack, for situations where the stack
@@ -44,4 +43,10 @@
#define UNINITIALIZED_IS_SAFE(x) x=x
#else
#define UNINITIALIZED_IS_SAFE(x) x
+#endif
+
+#if HAVE_NEON && defined(_MSC_VER)
+#define __builtin_prefetch(x)
+#endif
+
#endif // VPX_PORTS_MEM_H_