Skip to content

[AIX] Define timespec_tv_nsec_t as 32-bit.#506

Merged
Amanieu merged 1 commit into
Amanieu:masterfrom
amy-kwan:amy-kwan/update-timespec-aix
Dec 17, 2025
Merged

[AIX] Define timespec_tv_nsec_t as 32-bit.#506
Amanieu merged 1 commit into
Amanieu:masterfrom
amy-kwan:amy-kwan/update-timespec-aix

Conversation

@amy-kwan
Copy link
Copy Markdown
Contributor

On AIX, libc >= 0.2.178 exposes timespec.tv_nsec as 32-bit (c_int) on both
32- and 64-bit systems to match the platform ABI. This PR updates nix to use
the same width.

This change also eliminates the E0308 mismatched-type errors when building nix
and dependents on AIX with libc 0.2.178+, and keeps FFI layout consistent with the
underlying system ABI.

@Amanieu Amanieu merged commit f989a09 into Amanieu:master Dec 17, 2025
36 checks passed
@github-actions github-actions Bot mentioned this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants