* Dotted filenames for package zlib

This commit is contained in:
Michaël Van Canneyt 2023-03-06 14:58:07 +01:00
parent a3d722dfe9
commit e289d78b28
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
unit Api.Z;
{$DEFINE FPC_DOTTEDUNITS}
{$i zlib.pp}

View File

@ -0,0 +1,3 @@
src/zlib.pp=namespaced/Api.Z.pp
{s*:src/}=namespaced/
{i+:src/}

View File

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