diff --git a/rtl/openbsd/setsysnr.inc b/rtl/openbsd/setsysnr.inc index ce283f164d..fe35d88748 100644 --- a/rtl/openbsd/setsysnr.inc +++ b/rtl/openbsd/setsysnr.inc @@ -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; diff --git a/rtl/openbsd/sysnr.inc b/rtl/openbsd/sysnr.inc index ed3782909b..138a3d239c 100644 --- a/rtl/openbsd/sysnr.inc +++ b/rtl/openbsd/sysnr.inc @@ -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}