]> granicus.if.org Git - libvpx/commitdiff
fix msvc build
authorYaowu Xu <yaowu@google.com>
Fri, 3 Aug 2012 18:25:35 +0000 (11:25 -0700)
committerYaowu Xu <yaowu@google.com>
Fri, 3 Aug 2012 18:28:12 +0000 (11:28 -0700)
Change-Id: I377d50cb347f50341ab6f5f456a6a64438bcb667

vp8/common/idct.h

index b67076967922ef408b04322ee67f18313f8e3d57..5336f5ab0d645265852285a3ef7f1e3b24f306e3 100644 (file)
 #include "x86/idct_x86.h"
 #endif
 
+#ifdef _MSC_VER
+/* TODO: remove these after integer implmementations are done */
+#define M_PI       3.14159265358979323846
+#define round(x) (((x)>0)? floor((x)+0.5): ceil((x)-0.5))
+#endif
+
+
 #if ARCH_ARM
 #include "arm/idct_arm.h"
 #endif