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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/getenv.c b/libs/libcurl/src/getenv.c
index d3c660c0c4..edb085f8cd 100644
--- a/libs/libcurl/src/getenv.c
+++ b/libs/libcurl/src/getenv.c
@@ -31,7 +31,7 @@
static char *GetEnv(const char *variable)
{
-#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP) || \
+#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_UWP) || \
defined(__ORBIS__) || defined(__PROSPERO__) /* PlayStation 4 and 5 */
(void)variable;
return NULL;
@@ -70,7 +70,7 @@ static char *GetEnv(const char *variable)
}
#else
char *env = getenv(variable);
- return (env && env[0])?strdup(env):NULL;
+ return (env && env[0]) ? strdup(env) : NULL;
#endif
}