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 @@ -127,7 +127,7 @@ static char *cpuname_lower[] = {
127
127
int get_feature (char * search )
128
128
{
129
129
130
- #ifdef __linux
130
+ #if defined( __linux ) || defined( __NetBSD__ )
131
131
FILE * infile ;
132
132
char buffer [2048 ], * p ,* t ;
133
133
p = (char * ) NULL ;
@@ -163,7 +163,7 @@ int get_feature(char *search)
163
163
int detect (void )
164
164
{
165
165
166
- #ifdef __linux
166
+ #if defined( __linux ) || defined( __NetBSD__ )
167
167
168
168
FILE * infile ;
169
169
char buffer [512 ], * p , * cpu_part = NULL , * cpu_implementer = NULL ;
@@ -314,7 +314,7 @@ void get_cpucount(void)
314
314
{
315
315
int n = 0 ;
316
316
317
- #ifdef __linux
317
+ #if defined( __linux ) || defined( __NetBSD__ )
318
318
FILE * infile ;
319
319
char buffer [2048 ], * p ,* t ;
320
320
p = (char * ) NULL ;
@@ -608,7 +608,7 @@ void get_libname(void)
608
608
void get_features (void )
609
609
{
610
610
611
- #ifdef __linux
611
+ #if defined( __linux ) || defined( __NetBSD__ )
612
612
FILE * infile ;
613
613
char buffer [2048 ], * p ,* t ;
614
614
p = (char * ) NULL ;
You can’t perform that action at this time.
0 commit comments