[PR #918] Fix stat64 failure on Apple Silicon #211

Closed
opened 2026-01-29 19:06:53 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/stenzek/duckstation/pull/918

State: closed
Merged: Yes


The stat64 struct seems to be designed to be a forward declaration under Apple Silicon according to the SDK in Xcode 12.2. A valid work-around is to just use the (not deprecated on OS X) stat (which is 64-bit since 10.6 via linking trickery, and always 64-bit on 64-bit OSes).

**Original Pull Request:** https://github.com/stenzek/duckstation/pull/918 **State:** closed **Merged:** Yes --- The `stat64` struct seems to be designed to be a forward declaration under Apple Silicon according to the SDK in Xcode 12.2. A valid work-around is to just use the (not deprecated on OS X) `stat` (which is 64-bit since 10.6 via linking trickery, and always 64-bit on 64-bit OSes).
claunia added the pull-request label 2026-01-29 19:06:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#211