mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 05:29:21 +02:00
bsd support
This commit is contained in:
parent
b8f96f52e2
commit
cdbe222922
@ -3,7 +3,11 @@ Unit dl;
|
|||||||
Interface
|
Interface
|
||||||
|
|
||||||
Const
|
Const
|
||||||
|
{$ifdef BSD} // dlopen is in libc on FreeBSD.
|
||||||
|
LibDL = 'c';
|
||||||
|
{$else}
|
||||||
LibDL = 'dl';
|
LibDL = 'dl';
|
||||||
|
{$endif}
|
||||||
|
|
||||||
RTLD_LAZY = $001;
|
RTLD_LAZY = $001;
|
||||||
RTLD_NOW = $002;
|
RTLD_NOW = $002;
|
||||||
|
Loading…
Reference in New Issue
Block a user