# Duplicate OSAtomic.h between aarch64 and x86_64 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/763d8073774ae0b77014187a75b2167522c44079)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 763d8073774ae0b77014187a75b2167522c44079

Requested commit: 763d8073774ae0b77014187a75b2167522c44079

Commit: 763d8073774ae0b77014187a75b2167522c44079

Tree: b590c771c0a5bf19dbc04d0fe29152ada879e15c

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Duplicate OSAtomic.h between aarch64 and x86_64

The reason this is required is for two reasons: 1) the libc
targeting `aarch64` macOS is slightly newer than that targeting
`x86_64`, and 2) `OSAtomic.h` uses relative imports rather than
system-wide imports for accompanying headers which clearly is an
oversight on Apple's part. Until such time when `libkern` headers
between `x86_64` and `aarch64` are identical, this will require a
manual intervention to duplicate the relevant headers between the
respective architectures.

```

## Parents

- [91a35e1a922e865ca0e9beb43a2be2c5552fc494](https://git.cafe/gitcafe/zig/commit/91a35e1a922e865ca0e9beb43a2be2c5552fc494?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/763d8073774ae0b77014187a75b2167522c44079?format=markdown)
