feuillatte opened a new pull request, #48140:
URL: https://github.com/apache/arrow/pull/48140

   ### Rationale for this change
   
   The endianness header inclusion preprocessor selection logic in 
`cpp/src/arrow/util/endian.h` currently prevents compling Arrow C++ libraries 
for the QNX operating system. Modern QNX operating system toolchains are 
detectable via the preprocessor defines  `__QNXNTO__` (versions 5 - 7) and 
`__QNX__` (version 8), which are not currently considered, but the basis for 
the logic is already implemented for AIX.
   
   ### What changes are included in this PR?
   
   Extend the current preprocessor `!defined()` check for AIX with the 
equivalent for QNX in `cpp/src/arrow/util/endian.h`.
   
   ### Are these changes tested?
   
   The change is verified using the proprietary QNX SDP 7.1 GCC 8 based 
toolchain and tested on QNX 7. Applying the patch allows building for QNX.
   
   ### Are there any user-facing changes?
   
   No; the changes purely relate to OS-specific toolchain detection.
   


-- 
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