diff --git a/Source/Core/Common/CommonFuncs.h b/Source/Core/Common/CommonFuncs.h index 15b3debe28..8dd7d0f6d1 100644 --- a/Source/Core/Common/CommonFuncs.h +++ b/Source/Core/Common/CommonFuncs.h @@ -114,7 +114,7 @@ inline u32 swap24(const u8* _data) return (_data[0] << 16) | (_data[1] << 8) | _data[2]; } -#ifdef ANDROID +#if defined(ANDROID) || defined(__OpenBSD__) #undef swap16 #undef swap32 #undef swap64