mirror of
https://github.com/grumpycoders/pcsx-redux.git
synced 2026-10-12 02:15:13 +00:00
Merge pull request #2087 from nicolasnoble/libcxx-fixes
Fix a missing cstdlib and the unsupported-platform throw.
This commit is contained in:
@@ -26,6 +26,8 @@ SOFTWARE.
|
||||
|
||||
#if !defined(_WIN32) && !defined(_WIN64)
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user