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

This commit is contained in:
Johann 2014-05-07 06:00:04 -07:00 коммит произвёл Gerrit Code Review
Родитель 928ff03889 20babf6d9d
Коммит a24e24386e
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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");