mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Avoid possible compile error: conflicting defs
In some cases, depending on the build flags, these two lines can be actively compiled at the same time, resulting in a conflicting definitions error: https://github.com/hrydgard/ppsspp/blob/master/GPU/Common/DrawEngineCommon.h#L41 https://github.com/hrydgard/ppsspp/blob/master/GPU/Common/TextureDecoder.h#L88 I believe all that's necessary here is to add these "or" clauses to avoid it and safeguard against the error.
This commit is contained in:
1 parent
d08a2eed6d
commit
0ab6c59fbe
1 file changed
+2
-2
@@ -49,7 +49,7 @@ void DoUnswizzleTex16Basic(const u8 *texptr, u32 *ydestp, int bxc, int byc, u32
|
||||
#define DoReliableHash32 XXH32
|
||||
#define DoReliableHash64 XXH64
|
||||
|
||||
#ifdef _M_X64
|
||||
#ifdef _M_X64 || defined(ARM64)
|
||||
#define DoReliableHash XXH64
|
||||
typedef u64 ReliableHashType;
|
||||
#else
|
||||
@@ -58,7 +58,7 @@ typedef u32 ReliableHashType;
|
||||
#endif
|
||||
|
||||
// For ARM64, NEON is mandatory, so we also statically link.
|
||||
#elif PPSSPP_ARCH(ARM64)
|
||||
#elif PPSSPP_ARCH(ARM64) || defined(ARM64)
|
||||
#define DoQuickTexHash QuickTexHashNEON
|
||||
#define StableQuickTexHash QuickTexHashNEON
|
||||
#define DoUnswizzleTex16 DoUnswizzleTex16NEON
|
||||
|
||||
Reference in new issue
Block a user