core: EMULTIHOP isn't defined on all Unixes

This commit is contained in:
hubslave 2018-02-20 01:42:51 +02:00
parent 13a6e091b7
commit 27b20359b4

View File

@ -94,7 +94,9 @@ static const std::unordered_map<int, int> 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},