In particular, __LITTLE_ENDIAN__ was not a functioning macro. Instead, I implemented a version by hand (copied from IBM) that actually figures out if the machine is little endian or not. Thank you unit testing!
In particular, __LITTLE_ENDIAN__ was not a functioning macro. Instead, I implemented a version by hand (copied from IBM) that actually figures out if the machine is little endian or not. Thank you unit testing!