X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Flibvpx%2Fsource%2Flibvpx%2Fvpx_ports%2Farm_cpudetect.c;h=fa0e030b55209698ed9e042c6d419a43a8cb9716;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=542ff6786d3c03b1949987e1d3c463080cb55446;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/libvpx/source/libvpx/vpx_ports/arm_cpudetect.c b/src/third_party/libvpx/source/libvpx/vpx_ports/arm_cpudetect.c index 542ff67..fa0e030 100644 --- a/src/third_party/libvpx/source/libvpx/vpx_ports/arm_cpudetect.c +++ b/src/third_party/libvpx/source/libvpx/vpx_ports/arm_cpudetect.c @@ -12,6 +12,13 @@ #include #include "arm.h" +#ifdef WINAPI_FAMILY +#include +#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) +#define getenv(x) NULL +#endif +#endif + static int arm_cpu_env_flags(int *flags) { char *env; env = getenv("VPX_SIMD_CAPS");