diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,6 +33,10 @@ #include <assert.h> #include <unistd.h> +#if __BYTE_ORDER__ != __ORDER_LITTLE_ENDIAN__ +#error "Big endian machines not supported yet" +#endif + #define flip_block(TMP_VAR, TYPE, BUF, POS) \ TMP_VAR = *(TYPE *)&BUF[POS]; \ TMP_VAR = ~TMP_VAR; \ |