Merge "Don't try to use getenv on windows phone/rt"
This commit is contained in:
@@ -12,6 +12,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "arm.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) {
|
static int arm_cpu_env_flags(int *flags) {
|
||||||
char *env;
|
char *env;
|
||||||
env = getenv("VPX_SIMD_CAPS");
|
env = getenv("VPX_SIMD_CAPS");
|
||||||
|
|||||||
Reference in New Issue
Block a user