mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 07:19:37 +02:00
* fixed library name (typo)
git-svn-id: trunk@12694 -
This commit is contained in:
parent
76694f6ec8
commit
555d72a37b
@ -15,25 +15,15 @@ unit xml2;
|
||||
interface
|
||||
|
||||
uses
|
||||
{$IFDEF WINDOWS}
|
||||
windows,
|
||||
{$ENDIF}
|
||||
{$IFDEF UNIX}
|
||||
//unixtype,
|
||||
{$ENDIF}
|
||||
dynlibs,
|
||||
ctypes;
|
||||
|
||||
//{$IF Sizeof(cbool) <> Sizeof(cint)}
|
||||
// {$ERROR 'cbool size mismatch!'}
|
||||
//{$ENDIF}
|
||||
|
||||
const
|
||||
{$IF Defined(WINDOWS)}
|
||||
xml2lib = 'libxml2.dll';
|
||||
xml2lib = 'libxml2.'+sharedsuffix;
|
||||
{$DEFINE EXTDECL := cdecl}
|
||||
{$ELSEIF Defined(UNIX)}
|
||||
xml2lib = 'libxml2'+sharedsuffix;
|
||||
xml2lib = 'libxml2.'+sharedsuffix;
|
||||
{$DEFINE EXTDECL := cdecl}
|
||||
{$ELSE}
|
||||
{$MESSAGE ERROR 'DYNLINK not supported'}
|
||||
|
Loading…
Reference in New Issue
Block a user