[v0.99][PPC] Fix compilation issues in ppc

This commit is contained in:
Dr-Noob
2021-08-13 09:40:31 +02:00
parent 9c552bcddf
commit 132b961b24
2 changed files with 7 additions and 3 deletions

View File

@@ -16,6 +16,8 @@
#include "../arm/uarch.h"
#endif
#define UNUSED(x) (void)(x)
#define STRING_YES "Yes"
#define STRING_NO "No"
#define STRING_NONE "None"
@@ -38,6 +40,8 @@ char* get_str_cpu_name(struct cpuInfo* cpu, bool fcpuname) {
if(!fcpuname) {
return get_str_cpu_name_abbreviated(cpu);
}
#elif ARCH_PPC
UNUSED(fcpuname);
#endif
return cpu->cpu_name;
}