We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b2bb56 commit e1574cbCopy full SHA for e1574cb
cpuid_power.c
@@ -104,7 +104,7 @@ char *corename[] = {
104
105
int detect(void){
106
107
-#ifdef linux
+#ifdef __linux
108
FILE *infile;
109
char buffer[512], *p;
110
@@ -214,6 +214,8 @@ switch ( id >> 16 ) {
214
return CPUTYPE_UNKNOWN;
215
}
216
#endif
217
+
218
+ return CPUTYPE_UNKNOWN;
219
220
221
void get_architecture(void){
0 commit comments