mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 06:08:55 +02:00
- 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:
parent
aa3d13dd4a
commit
28bb38cc12
@ -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;
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user