mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Undefine OpenBSD's system byteswap macros to pick up generic functions.
This commit is contained in:
@ -114,7 +114,7 @@ inline u32 swap24(const u8* _data)
|
|||||||
return (_data[0] << 16) | (_data[1] << 8) | _data[2];
|
return (_data[0] << 16) | (_data[1] << 8) | _data[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ANDROID
|
#if defined(ANDROID) || defined(__OpenBSD__)
|
||||||
#undef swap16
|
#undef swap16
|
||||||
#undef swap32
|
#undef swap32
|
||||||
#undef swap64
|
#undef swap64
|
||||||
|
Reference in New Issue
Block a user