summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/getenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/getenv.c')
-rw-r--r--libs/libcurl/src/getenv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/libcurl/src/getenv.c b/libs/libcurl/src/getenv.c
index 36215aab0a..89d181de3c 100644
--- a/libs/libcurl/src/getenv.c
+++ b/libs/libcurl/src/getenv.c
@@ -9,7 +9,7 @@
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
- * are also available at http://curl.haxx.se/docs/copyright.html.
+ * are also available at https://curl.haxx.se/docs/copyright.html.
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
@@ -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