Skip to content
Snippets Groups Projects
Commit e30235a9 authored by Markus Frank's avatar Markus Frank
Browse files

Fix problem with non-existing errno values on apple

parent 24f2ba2f
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,12 @@ namespace DD4hep { namespace Errors {
IMPLEMENT(ioError,EIO) // 5
IMPLEMENT(invalidArg,EINVAL) // 22
IMPLEMENT(noSys,ENOSYS) // 38
IMPLEMENT(linkRange,ELNRNG) // 48
IMPLEMENT(cancelled,ECANCELED) // 125
#ifdef __apple__
IMPLEMENT(linkRange,EINVAL) // 48 does not exist on apple
IMPLEMENT(noKey,EINVAL) // 126 does not exist on apple
#else
IMPLEMENT(linkRange,ELNRNG) // 48
IMPLEMENT(noKey,ENOKEY) // 126
#endif
}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment