Improve BSD compile-time compatibility (#1342)

This commit is contained in:
Uwe Seimet
2023-11-16 12:37:50 +01:00
committed by GitHub
parent 70bcb78d24
commit bb602040e2
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ uint32_t SBC_Version::GetPeripheralAddress(void)
return address;
}
#elif defined __NetBSD__
#elif defined __NetBSD__ && (!defined(__x86_64__) || defined(__X86__))
uint32_t SBC_Version::GetPeripheralAddress(void)
{
char buf[1024];