Browse Source

Change ifdef linux to __linux for C11 compatibility

tags/v0.3.11^2
Martin Kroeker GitHub 5 years ago
parent
commit
2bf70c8e3b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cpuid_arm.c

+ 3
- 3
cpuid_arm.c View File

@@ -54,7 +54,7 @@ static char *cpuname_lower[] = {
int get_feature(char *search)
{

#ifdef linux
#ifdef __linux
FILE *infile;
char buffer[2048], *p,*t;
p = (char *) NULL ;
@@ -90,7 +90,7 @@ int get_feature(char *search)
int detect(void)
{

#ifdef linux
#ifdef __linux

FILE *infile;
char buffer[512], *p;
@@ -289,7 +289,7 @@ void get_libname(void)
void get_features(void)
{

#ifdef linux
#ifdef __linux
FILE *infile;
char buffer[2048], *p,*t;
p = (char *) NULL ;


Loading…
Cancel
Save