1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Test for target Endianness and abort if it's big-endian

This commit is contained in:
Jens Steube 2017-04-15 17:33:59 +02:00
parent 27239fe75a
commit 5cc3b7807f

View File

@ -16,6 +16,10 @@
#error Your Operating System is not supported or detected #error Your Operating System is not supported or detected
#endif #endif
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#error "compiling for big-endian architecture not supported"
#endif
#ifndef _GNU_SOURCE #ifndef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#endif #endif