From 9a14cbb225b3859e208bfa9a0988ffc7f2e7f633 Mon Sep 17 00:00:00 2001 From: "Anthony J. Bentley" Date: Sun, 17 Jul 2016 20:18:50 -0600 Subject: [PATCH] Undefine OpenBSD's system byteswap macros to pick up generic functions. --- Source/Core/Common/CommonFuncs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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