mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 23:10:25 +02:00
* Dotted filenames for package utmp
This commit is contained in:
parent
71226c3bb2
commit
7ef30a4081
3
packages/utmp/namespaced/UnixApi.Utmp.pp
Normal file
3
packages/utmp/namespaced/UnixApi.Utmp.pp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
unit UnixApi.Utmp;
|
||||||
|
{$DEFINE FPC_DOTTEDUNITS}
|
||||||
|
{$i utmp.pp}
|
3
packages/utmp/namespaces.lst
Normal file
3
packages/utmp/namespaces.lst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
src/utmp.pp=namespaced/UnixApi.Utmp.pp
|
||||||
|
{s*:src/}=namespaced/
|
||||||
|
{i+:src/}
|
@ -1,10 +1,18 @@
|
|||||||
|
{$IFNDEF FPC_DOTTEDUNITS}
|
||||||
unit Utmp;
|
unit Utmp;
|
||||||
|
{$ENDIF FPC_DOTTEDUNITS}
|
||||||
|
|
||||||
interface
|
interface
|
||||||
|
|
||||||
|
{$IFDEF FPC_DOTTEDUNITS}
|
||||||
|
uses
|
||||||
|
UnixApi.Base,
|
||||||
|
UnixApi.Unix;
|
||||||
|
{$ELSE FPC_DOTTEDUNITS}
|
||||||
uses
|
uses
|
||||||
BaseUnix,
|
BaseUnix,
|
||||||
Unix;
|
Unix;
|
||||||
|
{$ENDIF FPC_DOTTEDUNITS}
|
||||||
|
|
||||||
const
|
const
|
||||||
Device_name_length = 12;
|
Device_name_length = 12;
|
||||||
|
Loading…
Reference in New Issue
Block a user