Commit a24e2438 authored by Johann's avatar Johann Committed by Gerrit Code Review
Browse files

Merge "Don't try to use getenv on windows phone/rt"

parents 928ff038 20babf6d
......@@ -12,6 +12,13 @@
#include <string.h>
#include "arm.h"
#ifdef WINAPI_FAMILY
#include <winapifamily.h>
#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");
......
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