Skip to content

Commit b708ecd

Browse files
committed
disable compilation on fpc big endian
1 parent bd064fa commit b708ecd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

HashLib/src/Include/HashLibFPC.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
{$MESSAGE ERROR 'This Library requires FreePascal 3.0.0 or higher.'}
1818
{$IFEND}
1919

20+
{$IFDEF ENDIAN_BIG}
21+
{$MESSAGE FATAL 'This Library does not support "Big Endian" processors yet.'}
22+
{$ENDIF}
23+
2024
{$IFDEF FPC_LITTLE_ENDIAN}
2125
{$DEFINE HASHLIB_LITTLE_ENDIAN}
2226
{$ENDIF}

0 commit comments

Comments
 (0)