Skip to content

GetLoggedUserName does not compile for Android #151

@infpmandin

Description

@infpmandin

On Android target, PPasswd and getpwuid() are not available / not usable (unless permitted in recent Android versions?)

Proposal:

Replace
{$ifdef POSIX}
by
{$if defined(POSIX) and not defined(ANDROID)}
in function GetLoggedUserName : string;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions