move brace inside the ifdef block
This commit is contained in:
parent
c8d05aa7a5
commit
f3b51ec608
|
@ -104,17 +104,17 @@ int detect(void){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(infile);
|
fclose(infile);
|
||||||
if(p != NULL){
|
if (p != NULL){
|
||||||
if (strstr(p, "Loongson-3A3000") || strstr(p, "Loongson-3B3000")){
|
if (strstr(p, "Loongson-3A3000") || strstr(p, "Loongson-3B3000")){
|
||||||
return CPU_LOONGSON3R3;
|
return CPU_LOONGSON3R3;
|
||||||
}else if(strstr(p, "Loongson-3A4000") || strstr(p, "Loongson-3B4000")){
|
} else if (strstr(p, "Loongson-3A4000") || strstr(p, "Loongson-3B4000")){
|
||||||
return CPU_LOONGSON3R4;
|
return CPU_LOONGSON3R4;
|
||||||
} else{
|
} else{
|
||||||
return CPU_SICORTEX;
|
return CPU_SICORTEX;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
return CPU_UNKNOWN;
|
return CPU_UNKNOWN;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
char *get_corename(void){
|
char *get_corename(void){
|
||||||
|
|
Loading…
Reference in New Issue