getenv: PlayStation doesn't have getenv()

Closes #12140
This commit is contained in:
Faraz Fallahi 2023-10-16 20:37:22 -07:00 committed by Daniel Stenberg
parent df9aea22c2
commit d31a8424e8
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -31,7 +31,8 @@
static char *GetEnv(const char *variable)
{
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP)
#if defined(_WIN32_WCE) || defined(CURL_WINDOWS_APP) || \
defined(__ORBIS__) || defined(__PROSPERO__) /* PlayStation 4 and 5 */
(void)variable;
return NULL;
#elif defined(WIN32)