mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 10:19:17 +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
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
{$IFDEF WINDOWS}
|
|
||||||
windows,
|
|
||||||
{$ENDIF}
|
|
||||||
{$IFDEF UNIX}
|
|
||||||
//unixtype,
|
|
||||||
{$ENDIF}
|
|
||||||
dynlibs,
|
dynlibs,
|
||||||
ctypes;
|
ctypes;
|
||||||
|
|
||||||
//{$IF Sizeof(cbool) <> Sizeof(cint)}
|
|
||||||
// {$ERROR 'cbool size mismatch!'}
|
|
||||||
//{$ENDIF}
|
|
||||||
|
|
||||||
const
|
const
|
||||||
{$IF Defined(WINDOWS)}
|
{$IF Defined(WINDOWS)}
|
||||||
xml2lib = 'libxml2.dll';
|
xml2lib = 'libxml2.'+sharedsuffix;
|
||||||
{$DEFINE EXTDECL := cdecl}
|
{$DEFINE EXTDECL := cdecl}
|
||||||
{$ELSEIF Defined(UNIX)}
|
{$ELSEIF Defined(UNIX)}
|
||||||
xml2lib = 'libxml2'+sharedsuffix;
|
xml2lib = 'libxml2.'+sharedsuffix;
|
||||||
{$DEFINE EXTDECL := cdecl}
|
{$DEFINE EXTDECL := cdecl}
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
{$MESSAGE ERROR 'DYNLINK not supported'}
|
{$MESSAGE ERROR 'DYNLINK not supported'}
|
||||||
|
Loading…
Reference in New Issue
Block a user