mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-12 22:49:34 +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;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
interface
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
UnixApi.Base,
|
||||
UnixApi.Unix;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
BaseUnix,
|
||||
Unix;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
Device_name_length = 12;
|
||||
|
Loading…
Reference in New Issue
Block a user