mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 11:09:19 +02:00
* properly check for linux version supporting statx
git-svn-id: trunk@48469 -
(cherry picked from commit 33cd5778cd
)
This commit is contained in:
parent
9ca5ae9039
commit
afccc19a9e
@ -41,7 +41,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
break;
|
break;
|
||||||
end;
|
end;
|
||||||
if (major_release<4) or (minor_release<11) then
|
if (major_release<4) or ((major_release=4) and (minor_release<11)) then
|
||||||
begin
|
begin
|
||||||
writeln('This version of Linux: ',st,' does not have fstatx syscall');
|
writeln('This version of Linux: ',st,' does not have fstatx syscall');
|
||||||
halt(0);
|
halt(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user