Skip to content

PlayStation platform does not have isatty() #3053

Closed

Description

@objectx

Describe the bug
PlayStation platform does not have isatty(), but current Catch2 try to use it. This triggers a compilation error.

Expected behavior
Successfully compile

Reproduction steps
Build with PlayStation SDK.

Platform information:

  • Compiler+version: Clang-20 variant
  • Catch version: devel branch

Additional context
The __FreeBSD__ is pre-defined by a supplied Clang. This enables the isatty() usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions