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

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

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

Visibility: public

Requested revision: aad6ef1fc32538063a3d5d03d9c24d2f61797565

Requested commit: aad6ef1fc32538063a3d5d03d9c24d2f61797565

Commit: aad6ef1fc32538063a3d5d03d9c24d2f61797565

Tree: 457cd2a84de942988a413e040bf6512f1b897b4c

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

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

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