mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
brrr. one more time
This commit is contained in:
@@ -53,9 +53,9 @@ int isKernel26OrHigher() {
|
||||
int major;
|
||||
int minor;
|
||||
fscanf(fp, "Linux version %d.%d", &major, &minor);
|
||||
fclose (fp);
|
||||
if (major < 2) return 0;
|
||||
if (major == 2) return minor >= 6;
|
||||
fclose (fp);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user