File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ static char *cpuname_lower[] = {
9090int get_feature (char * search )
9191{
9292
93- #ifdef linux
93+ #ifdef __linux
9494 FILE * infile ;
9595 char buffer [2048 ], * p ,* t ;
9696 p = (char * ) NULL ;
@@ -126,7 +126,7 @@ int get_feature(char *search)
126126int detect (void )
127127{
128128
129- #ifdef linux
129+ #ifdef __linux
130130
131131 FILE * infile ;
132132 char buffer [512 ], * p , * cpu_part = NULL , * cpu_implementer = NULL ;
@@ -242,7 +242,7 @@ void get_cpucount(void)
242242{
243243int n = 0 ;
244244
245- #ifdef linux
245+ #ifdef __linux
246246 FILE * infile ;
247247 char buffer [2048 ], * p ,* t ;
248248 p = (char * ) NULL ;
@@ -441,7 +441,7 @@ void get_libname(void)
441441void get_features (void )
442442{
443443
444- #ifdef linux
444+ #ifdef __linux
445445 FILE * infile ;
446446 char buffer [2048 ], * p ,* t ;
447447 p = (char * ) NULL ;
You can’t perform that action at this time.
0 commit comments