mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 15:20:45 +01:00
* SharedSuffix
git-svn-id: trunk@10825 -
This commit is contained in:
parent
971e54c113
commit
03c02a17e9
@ -45,7 +45,23 @@ Function GetProcAddress(Lib : TlibHandle; ProcName : AnsiString) : Pointer;
|
||||
|
||||
Type
|
||||
HModule = TLibHandle;
|
||||
|
||||
|
||||
// these are for easier crossplatform construction of dll names in dynloading libs.
|
||||
Const
|
||||
{$ifdef Windows}
|
||||
SharedSuffix = 'dll';
|
||||
{$else}
|
||||
{$ifdef Darwin}
|
||||
SharedSuffix = 'dylib';
|
||||
{$else}
|
||||
{$ifdef OS2}
|
||||
SharedSuffix = 'dll';
|
||||
{$else}
|
||||
SharedSuffix = 'so';
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$endif}
|
||||
|
||||
Implementation
|
||||
|
||||
{ ---------------------------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user