Libretro: Fixed compilation error on macos/ios
This commit is contained in:
parent
fe6900b8f9
commit
5ba28f0aaf
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ extern const uint32_t Crc32Lookup[MaxSlice][256];
|
|||
#endif
|
||||
#endif
|
||||
|
||||
// abort if byte order is undefined
|
||||
#if !defined(__BYTE_ORDER)
|
||||
#error undefined byte order, compile with -D__BYTE_ORDER=1234 (if little endian) or -D__BYTE_ORDER=4321 (big endian)
|
||||
//Default to little endian when the symbol is not defined
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
uint32_t CRC32::GetCRC(uint8_t *buffer, std::streamoff length)
|
||||
|
|
Loading…
Add table
Reference in a new issue