|
@@ -1,7 +1,9 @@
|
|
{$ifndef NO_SMART_LINK}
|
|
{$ifndef NO_SMART_LINK}
|
|
{$smartlink on}
|
|
{$smartlink on}
|
|
{$endif}
|
|
{$endif}
|
|
|
|
+{$IFNDEF FPC_DOTTEDUNITS}
|
|
unit ZLib;
|
|
unit ZLib;
|
|
|
|
+{$ENDIF FPC_DOTTEDUNITS}
|
|
|
|
|
|
interface
|
|
interface
|
|
|
|
|
|
@@ -14,8 +16,13 @@ interface
|
|
|
|
|
|
{$packrecords c}
|
|
{$packrecords c}
|
|
|
|
|
|
|
|
+{$IFDEF FPC_DOTTEDUNITS}
|
|
|
|
+uses
|
|
|
|
+ System.CTypes;
|
|
|
|
+{$ELSE FPC_DOTTEDUNITS}
|
|
uses
|
|
uses
|
|
ctypes;
|
|
ctypes;
|
|
|
|
+{$ENDIF FPC_DOTTEDUNITS}
|
|
|
|
|
|
const
|
|
const
|
|
{$ifdef netware} {zlib.nlm comes with netware6}
|
|
{$ifdef netware} {zlib.nlm comes with netware6}
|