Merge "Don't try to use getenv on windows phone/rt"
This commit is contained in:
Коммит
a24e24386e
|
@ -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");
|
||||
|
|
Загрузка…
Ссылка в новой задаче