Portable use of bswap_32