Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Support building on QNXNTO

  • Loading branch information...
commit 3e524e881a62a0b3b169df2efd2ffe4c75dacbfa 1 parent f04cb7c
@singpolyma singpolyma authored committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 cbits/bitfn.h
View
6 cbits/bitfn.h
@@ -169,6 +169,12 @@ static inline void array_copy64(uint64_t *d, uint64_t *s, uint32_t nb)
# include <machine/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 )
# include <machine/endian.h>
+#elif defined( __QNXNTO__ ) && defined( __LITTLEENDIAN__ )
+ # define LITTLE_ENDIAN 1234
+ # define BYTE_ORDER LITTLE_ENDIAN
+#elif defined( __QNXNTO__ ) && defined( __BIGENDIAN__ )
+ # define BIG_ENDIAN 1234
+ # define BYTE_ORDER BIG_ENDIAN
#else
# include <endian.h>
#endif
Please sign in to comment.
Something went wrong with that request. Please try again.