summaryrefslogtreecommitdiff
path: root/rtl/unix/initc.pp
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/unix/initc.pp')
-rw-r--r--rtl/unix/initc.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/unix/initc.pp b/rtl/unix/initc.pp
index 0adf8d6d85..627d96124b 100644
--- a/rtl/unix/initc.pp
+++ b/rtl/unix/initc.pp
@@ -59,7 +59,7 @@ function geterrnolocation: pcint; cdecl;external clib name '__errno_location';
function geterrnolocation: pcint; cdecl;external clib name '__errno';
{$endif}
-{$ifdef FreeBSD} // tested on x86
+{$if defined(FreeBSD) or defined(DragonFly)} // tested on x86
function geterrnolocation: pcint; cdecl;external clib name '__error';
{$endif}