Skip to content

Get rid of the PRIuMAX guard in git-compat-util.h #399

Closed
@dscho

Description

@dscho

As mentioned in https://public-inbox.org/git/[email protected]/t/#u:

The %lld format is supported on Linux and macOS, but not on Windows. Therefore, we use PRIdMAX instead and a cast the parameter to intmax_t.

The fact that PRIdMAX is used without any fallback definition in git-compat-util.h is a pretty good sign that we can drop the fallback for PRIuMAX, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    leftoverbitsFrom the Git mailing list: https://lore.kernel.org/git/?q=%23leftoverbits

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions