summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-10-31 20:33:39 +0100
committerGitHub <noreply@github.com>2016-10-31 20:33:39 +0100
commit946b62c03dad318673138d9e9b5030aa7a195206 (patch)
treea608c553f6c905961ce23647b3282599afd30ce6 /src/core
parentMerge pull request #2146 from mailwl/gdbstub-ida-regs (diff)
parentbuild: don't install freedesktop.org metadata for SDL2-only builds (diff)
downloadyuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar.gz
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar.bz2
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar.lz
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar.xz
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.tar.zst
yuzu-946b62c03dad318673138d9e9b5030aa7a195206.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/soc_u.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp
index 4279b67fb..46b75db25 100644
--- a/src/core/hle/service/soc_u.cpp
+++ b/src/core/hle/service/soc_u.cpp
@@ -104,7 +104,9 @@ static const std::unordered_map<int, int> error_map = {{
{ERRNO(ENETUNREACH), 40},
{ENFILE, 41},
{ERRNO(ENOBUFS), 42},
+#ifdef ENODATA
{ENODATA, 43},
+#endif
{ENODEV, 44},
{ENOENT, 45},
{ENOEXEC, 46},
@@ -114,8 +116,12 @@ static const std::unordered_map<int, int> error_map = {{
{ENOMSG, 50},
{ERRNO(ENOPROTOOPT), 51},
{ENOSPC, 52},
+#ifdef ENOSR
{ENOSR, 53},
+#endif
+#ifdef ENOSTR
{ENOSTR, 54},
+#endif
{ENOSYS, 55},
{ERRNO(ENOTCONN), 56},
{ENOTDIR, 57},
@@ -136,7 +142,9 @@ static const std::unordered_map<int, int> error_map = {{
{ESPIPE, 72},
{ESRCH, 73},
{ERRNO(ESTALE), 74},
+#ifdef ETIME
{ETIME, 75},
+#endif
{ERRNO(ETIMEDOUT), 76},
}};