[*] messed up AURORA_COMPILER_GCC macro usage

This commit is contained in:
Reece Wilson 2024-04-12 11:45:20 +01:00
parent 54dedf67cc
commit f589227c1d

View File

@ -88,7 +88,7 @@ namespace Aurora::Memory::Cache
#elif defined(AURORA_IS_LINUX_DERIVED) && defined(LINUX_SUPPORTS_CACHE_CTL) && LINUX_SUPPORTS_CACHE_CTL
// https://man7.org/linux/man-pages/man2/cacheflush.2.html
cacheflush(AuReinterpretCast<const void *>(base), length, ICACHE);
#elif (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && (defined(AURORA_COMPILER_CLANG) || AURORA_COMPILER_GCC)
#elif (defined(AURORA_ARCH_X86) || defined(AURORA_ARCH_X64)) && (defined(AURORA_COMPILER_CLANG) || defined(AURORA_COMPILER_GCC))
auto dwCacheLine = AuHwInfo::GetCPUInfo().dwCacheLine;