- removed syscall_nr_getdirentries from the OpenBSD rtl, since this syscall is no longer

supported by OpenBSD and shouldn't be used at all

git-svn-id: trunk@41791 -
This commit is contained in:
nickysn 2019-03-24 16:51:05 +00:00
parent aa3d13dd4a
commit 28bb38cc12
2 changed files with 1 additions and 7 deletions

View File

@ -62,10 +62,5 @@ Begin
version:=version_major * 1000 + version_minor;
if version >= 5005 then
begin
{ FIXME: what should we do here? }
syscall_nr_getdirentries := -1;
end;
{ version-specific checks and setting of compatibility flags can be inserted here }
end;

View File

@ -255,7 +255,6 @@ Const
var
syscall_nr_waitpid : longint = syscall_nr_wait4; // 7, added: ease of notation purposes
syscall_nr_getdirentries : longint = {syscall_nr_getdirentries_20}-1;
{ The variables above need to be changed at startup }
{$define FPC_HAS_SETSYSNR_INC}