summaryrefslogtreecommitdiff
path: root/lib/getenv.c
diff options
context:
space:
mode:
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