# glibc: version-gate \_DYNAMIC_STACK_SIZE_SOURCE · gitcafe/zig

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

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

Visibility: public

Requested revision: 39083c31a550ed80f369f60d35791e98904b8096

Requested commit: 39083c31a550ed80f369f60d35791e98904b8096

Commit: 39083c31a550ed80f369f60d35791e98904b8096

Tree: b2d4f0b9b5f2d99053ea0ab5320368d96f243685

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
glibc: version-gate _DYNAMIC_STACK_SIZE_SOURCE

This is a patch to glibc features.h which makes
_DYNAMIC_STACK_SIZE_SOURCE undefined unless the version is >= 2.34.

This feature was introduced with glibc 2.34 and without this patch, code
built against these headers but then run on an older glibc will end up
making a call to sysconf() that returns -1 for the value of SIGSTKSZ
and MINSIGSTKSZ.

Closes #10713

```

## Parents

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

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