From 27b20359b43db5ea1c0e5061c4bc4dd6b0d1528e Mon Sep 17 00:00:00 2001 From: hubslave <29800872+hubslave@users.noreply.github.com> Date: Tue, 20 Feb 2018 01:42:51 +0200 Subject: [PATCH] core: EMULTIHOP isn't defined on all Unixes --- src/core/hle/service/soc_u.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp index 21136772a..0309c51e3 100644 --- a/src/core/hle/service/soc_u.cpp +++ b/src/core/hle/service/soc_u.cpp @@ -94,7 +94,9 @@ static const std::unordered_map error_map = {{ {ERRNO(EMFILE), 33}, {EMLINK, 34}, {ERRNO(EMSGSIZE), 35}, +#ifdef EMULTIHOP {ERRNO(EMULTIHOP), 36}, +#endif {ERRNO(ENAMETOOLONG), 37}, {ERRNO(ENETDOWN), 38}, {ERRNO(ENETRESET), 39},