From b7d12b957b9fd253afeddeddf781d8903b463924 Mon Sep 17 00:00:00 2001 From: Vincent Hanquez Date: Sun, 7 Feb 2016 09:44:45 +0000 Subject: [PATCH] Add support for AIX in bitfn. --- cbits/cryptonite_bitfn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cbits/cryptonite_bitfn.h b/cbits/cryptonite_bitfn.h index 385998e..3a00dd8 100644 --- a/cbits/cryptonite_bitfn.h +++ b/cbits/cryptonite_bitfn.h @@ -188,6 +188,8 @@ static inline void array_copy64(uint64_t *d, uint64_t *s, uint32_t nb) #elif defined( __QNXNTO__ ) && defined( __BIGENDIAN__ ) # define BIG_ENDIAN 1234 # define BYTE_ORDER BIG_ENDIAN +#elif defined( _AIX ) + # include #else # include #endif