Commit 0b693c77 authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "fix msvc build" into experimental

Showing with 7 additions and 0 deletions
...@@ -27,6 +27,13 @@ ...@@ -27,6 +27,13 @@
#include "x86/idct_x86.h" #include "x86/idct_x86.h"
#endif #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 #if ARCH_ARM
#include "arm/idct_arm.h" #include "arm/idct_arm.h"
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment