mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 01:50:10 +00:00
Test for target Endianness and abort if it's big-endian
This commit is contained in:
parent
27239fe75a
commit
5cc3b7807f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user