Merge pull request #2087 from nicolasnoble/libcxx-fixes

Fix a missing cstdlib and the unsupported-platform throw.
This commit is contained in:
Nicolas Noble
2026-09-02 10:07:12 -07:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -26,6 +26,8 @@ SOFTWARE.
#if !defined(_WIN32) && !defined(_WIN64)
#include <cstdlib>
#include <assert.h>
#include <fcntl.h>
#include <string.h>
+1 -1
View File
@@ -269,7 +269,7 @@ bool PCSX::Update::getDownloadUrl(const VersionInfo& versionInfo, std::function<
// All these defines need to be matching what we see in version-{platform}.cc
#if (!defined(__APPLE__) || !defined(__MACH__)) && !defined(__linux__) && !defined(_WIN32) && !defined(_WIN64)
bool PCSX::Update::applyUpdate(const std::filesystem::path& binDir) {
throw std::runtime_exception("No platform support for updates");
throw std::runtime_error("No platform support for updates");
return false;
}
#endif