michael-o opened a new pull request, #906:
URL: https://github.com/apache/arrow-nanoarrow/pull/906

   ENODATA is an XSI/SVID extension, not part of the POSIX base specification, 
so <errno.h> is not required to define it. FreeBSD and OpenBSD do not define 
it, which currently breaks the build of nanoarrow_ipc on those platforms. 
(NetBSD already defines ENODATA itself and is unaffected.)
   
   The existing fallback only kicked in for old Windows/MinGW toolchains (R 
3.6). Widen the guard to apply on any platform that does not define ENODATA, so 
FreeBSD, OpenBSD, and other such systems also get the fallback definition.
   
   The value 120 matches the existing Windows/MinGW fallback and does not 
collide with any errno value defined by FreeBSD (ELAST == 97 as of FreeBSD 
16-CURRENT) or OpenBSD (ELAST == 95).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to