]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
getenv: PlayStation doesn't have getenv()
authorFaraz Fallahi <fffaraz@gmail.com>
Tue, 17 Oct 2023 03:37:22 +0000 (20:37 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 19 Oct 2023 15:00:35 +0000 (17:00 +0200)
Closes #12140

lib/getenv.c

index 8069784728883e8fb1726ba342955c4f2a5b070c..667d9f37031aebde1716243326e754610b1deff7 100644 (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)