# macOS libc headers: downgrade to 10.15.7 \(Catalina\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 2eee0582f8654cb2b344ed8e2c43dcda3424dbe5

Requested commit: 2eee0582f8654cb2b344ed8e2c43dcda3424dbe5

Commit: 2eee0582f8654cb2b344ed8e2c43dcda3424dbe5

Tree: 82292f7be0beb71b927e1b57540b24a956c198f1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
macOS libc headers: downgrade to 10.15.7 (Catalina)

See ziglang/fetch-them-macos-headers#2 for more details. The path
forward looks like one of the following:

 * Ony provide headers for the oldest supported macOS (currently 10.13
   but soon to be bumped to 10.14).
 * Provide headers for multiple versions, and select based on the Zig
   target OS version range minimum.
 * Don't try to provide macOS headers.

If we don't tackle the version problem, we would have to re-introduce
the ability to detect and depend on native system headers if we wanted
to support C/C++ code that used newer OS definitions.

This patch also adds support for `#include <mach/mach_time.h>`.

Also related: #5236

```

## Parents

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

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