mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 20:30:40 +02:00
* Dotted filenames for package zlib
This commit is contained in:
parent
a3d722dfe9
commit
e289d78b28
3
packages/zlib/namespaced/Api.Z.pp
Normal file
3
packages/zlib/namespaced/Api.Z.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Z;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i zlib.pp}
|
3
packages/zlib/namespaces.lst
Normal file
3
packages/zlib/namespaces.lst
Normal file
@ -0,0 +1,3 @@
|
||||
src/zlib.pp=namespaced/Api.Z.pp
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user