summaryrefslogtreecommitdiff
path: root/lib/getenv.c
diff options
context:
space:
mode:
authorMarco Deckel <marco.deckel@gmail.com>2016-08-21 13:44:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-08-21 13:56:22 +0200
commit7f3df8040858bc604b4b7ec9e6e3544e7184c9ca (patch)
treed9d6ef48c4249a45807cce4556b3ff67f6be9375 /lib/getenv.c
parenta78c61a4bf5b7eb90b0945d94568b7b3b1f23c6e (diff)
downloadcurl-7f3df8040858bc604b4b7ec9e6e3544e7184c9ca.tar.gz
win: Basic support for Universal Windows Platform apps
Closes #820
Diffstat (limited to 'lib/getenv.c')
-rw-r--r--lib/getenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/getenv.c b/lib/getenv.c
index 50bb79f53..89d181de3 100644
--- a/lib/getenv.c
+++ b/lib/getenv.c
@@ -30,7 +30,8 @@
static
char *GetEnv(const char *variable)
{
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP)
+ (void)variable;
return NULL;
#else
#ifdef WIN32