Commit 20babf6d authored by Martin Storsjo's avatar Martin Storsjo
Browse files

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

The getenv function doesn't exist there. In Visual Studio 2012,
the function still existed in the link libraries even though
it was hidden in the headers, but in the 2013 version it has been
removed from the link libraries as well.

Change-Id: Iea6289a698fa1788e906f5aabb6fddda3675815b
parent 140262d3
...@@ -12,6 +12,13 @@ ...@@ -12,6 +12,13 @@
#include <string.h> #include <string.h>
#include "arm.h" #include "arm.h"
#include <winapifamily.h>
#define getenv(x) NULL
static int arm_cpu_env_flags(int *flags) { static int arm_cpu_env_flags(int *flags) {
char *env; char *env;
env = getenv("VPX_SIMD_CAPS"); env = getenv("VPX_SIMD_CAPS");
Markdown is supported
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