mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.99][PPC] Fix compilation issues in ppc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user