core: EMULTIHOP isn't defined on all Unixes
This commit is contained in:
parent
13a6e091b7
commit
27b20359b4
1 changed files with 2 additions and 0 deletions
|
@ -94,7 +94,9 @@ static const std::unordered_map<int, int> error_map = {{
|
||||||
{ERRNO(EMFILE), 33},
|
{ERRNO(EMFILE), 33},
|
||||||
{EMLINK, 34},
|
{EMLINK, 34},
|
||||||
{ERRNO(EMSGSIZE), 35},
|
{ERRNO(EMSGSIZE), 35},
|
||||||
|
#ifdef EMULTIHOP
|
||||||
{ERRNO(EMULTIHOP), 36},
|
{ERRNO(EMULTIHOP), 36},
|
||||||
|
#endif
|
||||||
{ERRNO(ENAMETOOLONG), 37},
|
{ERRNO(ENAMETOOLONG), 37},
|
||||||
{ERRNO(ENETDOWN), 38},
|
{ERRNO(ENETDOWN), 38},
|
||||||
{ERRNO(ENETRESET), 39},
|
{ERRNO(ENETRESET), 39},
|
||||||
|
|
Loading…
Reference in a new issue