ref: e8645ce9f98662e68d3eafbf04bd3b40d1b89043
parent: 3701dcc5c15bd6a182addfb2ff10941f87d4f414
author: Johann <johannkoenig@google.com>
date: Thu Apr 16 10:51:22 EDT 2015
Use extern for *_rtcd() in test/test_libvpx.cc This partially reverts commit 14ef4aeafb Including the rtcd headers to get the function definitions causes problems on VS9. Change-Id: I780874d9e03af2d3124192ab0e3907301f22674c
--- a/test/test_libvpx.cc
+++ b/test/test_libvpx.cc
@@ -14,12 +14,12 @@
#endif
extern "C" {
#if CONFIG_VP8
-#include "./vp8_rtcd.h"
+extern void vp8_rtcd();
#endif // CONFIG_VP8
#if CONFIG_VP9
-#include "./vp9_rtcd.h"
+extern void vp9_rtcd();
#endif // CONFIG_VP9
-#include "./vpx_scale_rtcd.h"
+extern void vpx_scale_rtcd();
}
#include "third_party/googletest/src/include/gtest/gtest.h"
--
⑨