File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ static char *cpuname_lower[] = {
90
90
int get_feature (char * search )
91
91
{
92
92
93
- #ifdef linux
93
+ #ifdef __linux
94
94
FILE * infile ;
95
95
char buffer [2048 ], * p ,* t ;
96
96
p = (char * ) NULL ;
@@ -126,7 +126,7 @@ int get_feature(char *search)
126
126
int detect (void )
127
127
{
128
128
129
- #ifdef linux
129
+ #ifdef __linux
130
130
131
131
FILE * infile ;
132
132
char buffer [512 ], * p , * cpu_part = NULL , * cpu_implementer = NULL ;
@@ -242,7 +242,7 @@ void get_cpucount(void)
242
242
{
243
243
int n = 0 ;
244
244
245
- #ifdef linux
245
+ #ifdef __linux
246
246
FILE * infile ;
247
247
char buffer [2048 ], * p ,* t ;
248
248
p = (char * ) NULL ;
@@ -441,7 +441,7 @@ void get_libname(void)
441
441
void get_features (void )
442
442
{
443
443
444
- #ifdef linux
444
+ #ifdef __linux
445
445
FILE * infile ;
446
446
char buffer [2048 ], * p ,* t ;
447
447
p = (char * ) NULL ;
You can’t perform that action at this time.
0 commit comments